### Description Allow fine grained configuration on which release the test should be run. This will be useful to start testing liquidsoap >=2.0.0 in our ci.
47 lines
862 B
YAML
47 lines
862 B
YAML
name: Shared
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main, stable-*]
|
|
paths:
|
|
- .github/workflows/_python-*.yml
|
|
- .github/workflows/shared.yml
|
|
- shared/**
|
|
- tools/python*
|
|
|
|
pull_request:
|
|
branches: [main, stable-*]
|
|
paths:
|
|
- .github/workflows/_python-*.yml
|
|
- .github/workflows/shared.yml
|
|
- shared/**
|
|
- tools/python*
|
|
|
|
schedule:
|
|
- cron: 0 1 * * 1
|
|
|
|
jobs:
|
|
lint:
|
|
uses: ./.github/workflows/_python-lint.yml
|
|
with:
|
|
context: shared
|
|
|
|
test-focal:
|
|
uses: ./.github/workflows/_python-test.yml
|
|
with:
|
|
context: shared
|
|
release: focal
|
|
|
|
test-bullseye:
|
|
uses: ./.github/workflows/_python-test.yml
|
|
with:
|
|
context: shared
|
|
release: bullseye
|
|
|
|
test-jammy:
|
|
uses: ./.github/workflows/_python-test.yml
|
|
with:
|
|
context: shared
|
|
release: jammy
|