Use constraints to install development HEADs #42
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: Run tests | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
strategy: ${{steps.load.outputs.strategy}} | |
steps: | |
- uses: actions/checkout@v2 | |
- id: load | |
run: echo "::set-output name=strategy::$(echo $(cat strategy.json))" | |
canary: | |
needs: [setup] | |
strategy: ${{fromJson(needs.setup.outputs.strategy)}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
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@v2 | |
with: | |
python-version: ${{matrix.python}} | |
- uses: actions/checkout@v2 | |
with: | |
path: colcon_ci | |
- uses: ./colcon_ci/ |