Skip to content

Commit

Permalink
Update containers.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-revay authored Dec 25, 2024
1 parent 3e68095 commit 0e4fc3f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ on:

jobs:
distro-test:
continue-on-error: true
runs-on: ubuntu-latest
name: ${{ matrix.container }}
strategy:
Expand All @@ -46,6 +45,7 @@ jobs:
# TODO - consider making these steps some kind of subroutine
# or some other way to avoid redundant runs in the matrix
# consider using dependencies for that: https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions
continue-on-error: true
steps: # TODO - exit if the change was in the path that is not a dependency
# - name: "set APT to non-interactive"
# shell: bash
Expand Down Expand Up @@ -97,15 +97,15 @@ jobs:
\) -print0 |
xargs -0 -I{} bash -c 'if ! diff -C 30 "/tmp/old_home/$1" "$1"; then echo "diff failed for: $1"; exit 1; fi' bash {}
check-results:
runs-on: ubuntu-22.04
needs: distro-test
steps:
- name: Check distro-test results
run: |
for job in "${{ needs.distro-test.result }}"; do
if [[ $job == *"failure"* ]]; then
echo "A job in the matrix failed.";
exit 1;
fi
done
# check-results:
# runs-on: ubuntu-22.04
# needs: distro-test
# steps:
# - name: Check distro-test results
# run: |
# for job in "${{ needs.distro-test.result }}"; do
# if [[ $job == *"failure"* ]]; then
# echo "A job in the matrix failed.";
# exit 1;
# fi
# done

0 comments on commit 0e4fc3f

Please sign in to comment.