Skip to content

Add tests

Add tests #2

Workflow file for this run

name: Deploy tests
on:
pull_request:
jobs:
cancel-previous-runs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
assess-file-changes:
uses: catalystneuro/tqdm_publisher/.github/workflows/assess-file-changes.yml@main

Check failure on line 14 in .github/workflows/deploy-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-tests.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy-tests.yml" -> "catalystneuro/tqdm_publisher/.github/workflows/assess-file-changes.yml@main" : failed to fetch workflow: workflow was not found.
detect-changelog-updates:
needs: assess-file-changes
if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}
name: Auto-detecting CHANGELOG.md updates
runs-on: ubuntu-latest
steps:
- if: ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'true' }}
run: echo "CHANGELOG.md has been updated."
- if: ${{ needs.assess-file-changes.outputs.CHANGELOG_UPDATED == 'false' }}
run: |
echo "CHANGELOG.md has not been updated."
0
run-tests:
needs: assess-file-changes
if: ${{ needs.assess-file-changes.outputs.SOURCE_CHANGED == 'true' }}
uses: catalystneuro/tqdm_publisher/.github/workflows/testing.yml@main
check-final-status:
name: All tests passing
if: always()
needs:
- run-tests
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 # Sometimes only docs are adjusted
jobs: ${{ toJSON(needs) }}