Skip to content

Commit

Permalink
Add if always() to test upload job to still run when test executor jo…
Browse files Browse the repository at this point in the history
…b fails.
  • Loading branch information
imindich committed Jan 10, 2025
1 parent 9cbef37 commit a5befe8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,11 @@ jobs:

test-upload:
needs: [initialize, docker-build-image, build, test]
if: needs.initialize.outputs.test_on_host == 'true' || needs.initialize.outputs.test_on_device == 'true'
if: always() &&
(
needs.initialize.outputs.test_on_host == 'true' ||
needs.initialize.outputs.test_on_device == 'true'
)
permissions: {}
runs-on: [self-hosted, chrobalt-linux-runner]
name: ${{ matrix.name }}_tests_upload
Expand Down

0 comments on commit a5befe8

Please sign in to comment.