Skip to content

temporary allow running tests branches #1

temporary allow running tests branches

temporary allow running tests branches #1

---
name: all_green
concurrency:
group: ${{ github.head_ref }}

Check failure on line 5 in .github/workflows/all_green_check.yml

View workflow run for this annotation

GitHub Actions / all_green

Invalid workflow file

The workflow is not valid. .github/workflows/all_green_check.yml (Line: 5, Col: 10): Unexpected value ''
cancel-in-progress: true
on: # yamllint disable-line rule:truthy
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
- 'stable-*'
tags:
- '*'
push:
branches:
- 'tests-integration-*'
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
all_green:
if: ${{ always() }}
needs:
- linters
- sanity
- units
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.linters.result }}',
'${{ needs.sanity.result }}',
'${{ needs.units.result }}'
]) == {'success'}"