Workflow experimentation #134
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
name: all_green | ||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
branches: | ||
- main | ||
- 'stable-*' | ||
tags: | ||
- '*' | ||
jobs: | ||
linters: | ||
uses: ./.github/workflows/linters.yml # use the callable linters job to run tests | ||
sanity: | ||
uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests | ||
units: | ||
uses: ./.github/workflows/units.yml # use the callable units job to run tests | ||
integrations: | ||
uses: ./.github/workflows/integration.yml | ||
secrets: | ||
SN_HOST: ${{ secrets.SN_HOST }} | ||
Check failure on line 30 in .github/workflows/all_green_check.yml GitHub Actions / all_greenInvalid workflow file
|
||
SN_USERNAME: ${{ secrets.SN_USERNAME }} | ||
SN_PASSWORD: ${{ secrets.SN_PASSWORD }} | ||
all_green: | ||
if: ${{ always() }} | ||
needs: | ||
- linters | ||
- sanity | ||
- units | ||
- integrations | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: >- | ||
python -c "assert set([ | ||
'${{ needs.linters.result }}', | ||
'${{ needs.sanity.result }}', | ||
'${{ needs.units.result }}' | ||
]) == {'success'}" |