Skip to content

Commit

Permalink
Merge pull request #18 from trfore/wf-fix
Browse files Browse the repository at this point in the history
Revert "ci: refactor to test matrix"
  • Loading branch information
trfore authored Jul 3, 2024
2 parents a0ec7b1 + bf71fad commit d41e19c
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,28 @@ concurrency:
cancel-in-progress: true

jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- continue-on-error: true
runner: ubuntu-20.04
volume-permission: ro
- continue-on-error: false
runner: ubuntu-22.04
volume-permission: rw
cgroup-v1:
uses: trfore/docker-image/.github/workflows/test_systemd.yml@main
with:
continue-on-error: ${{ matrix.continue-on-error }}
runner: ${{ matrix.runner }}
volume-permission: ${{ matrix.volume-permission }}
continue-on-error: true
runner: ubuntu-20.04
volume-permission: ro

cgroup-v2:
uses: trfore/docker-image/.github/workflows/test_systemd.yml@main
with:
continue-on-error: false
runner: ubuntu-22.04
volume-permission: rw

check:
if: always() && failure()
needs:
- test
- cgroup-v1
- cgroup-v2
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.test.result }}',
'${{ needs.cgroup-v2.result }}',
]) == {'success'}"

0 comments on commit d41e19c

Please sign in to comment.