-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 920 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Run tests
on:
push:
branches: ['main']
pull_request:
jobs:
setup:
runs-on: ubuntu-latest
outputs:
strategy: ${{steps.load.outputs.strategy}}
steps:
- uses: actions/checkout@v3
- id: load
run: echo "strategy=$(echo $(cat strategy.json))" >> $GITHUB_OUTPUT
canary:
needs: [setup]
strategy: ${{fromJson(needs.setup.outputs.strategy)}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
with:
# Choose colcon-notification for a canary build. It has colcon
# dependencies and debian patches, so exercieses a fair amount of the
# CI action features.
repository: colcon/colcon-notification
- uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- uses: actions/checkout@v3
with:
path: colcon_ci
- uses: ./colcon_ci/