Skip to content

Scheduler main: Check for cancellation between base setup and setup s… #2775

Scheduler main: Check for cancellation between base setup and setup s…

Scheduler main: Check for cancellation between base setup and setup s… #2775

Workflow file for this run

---
name: "CI"
on:
push:
branches:
# Do not trigger on tags
# https://stackoverflow.com/questions/68573888/how-can-i-not-execute-a-github-action-when-i-push-a-new-tag
"**"
pull_request:
jobs:
analyse_changes:
if: always()
runs-on: ubuntu-latest
outputs:
robotmk_yaml_changed: ${{ steps.filter.outputs.robotmk_yaml }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
robotmk_yaml:
- '.github/workflows/robotmk_build.yaml'
tests:
if: always()
uses: ./.github/workflows/tests.yaml
build_robotmk:
needs:
- analyse_changes
if: ${{ needs.analyse_changes.outputs.robotmk_yaml_changed == 'true' }}
uses: ./.github/workflows/robotmk_build.yaml
rcc:
uses: ./.github/workflows/rcc.yaml
system_tests:
needs: rcc
uses: ./.github/workflows/system_tests.yaml
check_success:
if: always()
runs-on: Ubuntu-latest
needs:
- tests
- system_tests
- build_robotmk
- rcc
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
allowed-skips: build_robotmk, rcc
jobs: ${{ toJSON(needs) }}