Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Jun 15, 2024
1 parent ca023b3 commit 1724c6f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/daily_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,17 @@ jobs:
NotifyOnAnyFailure:
runs-on: ubuntu-latest
needs: [DevTests, LiveServices, BuildTests, ExampleDataCache, ExampleDataTests]
if: always() && (${{ needs.DevTests.result }} == 'failure' || ${{ needs.LiveServices.result }} == 'failure' || ${{ needs.BuildTests.result }} == 'failure' || ${{ needs.ExampleDataCache.result }} == 'failure' || ${{ needs.ExampleDataTests.result }} == 'failure')
# If condition needs always to trigger at all
if: (
always() &&
${{
(needs.DevTests.result == 'failure')
|| (needs.LiveServices.result == 'failure')
|| (needs.BuildTests.result == 'failure')
|| (needs.ExampleDataCache.result == 'failure')
|| (needs.ExampleDataTests.result == 'failure')
}}
)
steps:
- name: Printout which failed
run: |
Expand All @@ -49,7 +59,7 @@ jobs:
echo "ExampleDataCache: ${{ needs.ExampleDataCache.result }}"
echo "ExampleDataTests: ${{ needs.ExampleDataTests.result }}"
- name: debugging
run: export test=${{ needs.DevTests.result == 'failure' || needs.LiveServices.result == 'failure' || needs.BuildTests.result == 'failure' || needs.ExampleDataCache.result == 'failure' || needs.ExampleDataTests.result == 'failure' }}
run: export test=${{ (needs.DevTests.result == 'failure') || (needs.LiveServices.result == 'failure') || (needs.BuildTests.result == 'failure') || (needs.ExampleDataCache.result == 'failure') || (needs.ExampleDataTests.result == 'failure') }}
- name: debugging print
run: echo $test
#- name: Printout logic trigger
Expand Down

0 comments on commit 1724c6f

Please sign in to comment.