Skip to content

Commit

Permalink
Merge pull request #341 from catalystneuro/add_testing_check
Browse files Browse the repository at this point in the history
Add workflow for conditional requirements
  • Loading branch information
bendichter authored Feb 26, 2023
2 parents 812e6a1 + 2d6f2cf commit 3377a76
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,20 @@ jobs:
needs: assess-file-changes
if: ${{ needs.assess-file-changes.outputs.CONVERSION_GALLERY_CHANGED == 'true' && needs.assess-file-changes.outputs.SOURCE_CHANGED != 'true' }}
uses: catalystneuro/neuroconv/.github/workflows/doctests.yml@main

check-final-status:
if: always()

needs:
- run-tests
- run-dev-tests
- run-doctests-only

runs-on: ubuntu-latest

steps:
- name: Decide whether the all jobs succeeded or at least one failed
uses: re-actors/alls-green@release/v1
with:
allowed-skips: run-tests, run-dev-tests, run-doctests-only # Each has the option to skip depending on whether src changed
jobs: ${{ toJSON(needs) }}

0 comments on commit 3377a76

Please sign in to comment.