Add markers to linter tests, move linter imports #10
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: ['master'] | |
pull_request: | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
strategy: ${{steps.load.outputs.strategy}} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: colcon/ci | |
- id: load | |
run: echo "::set-output name=strategy::$(echo $(cat strategy.json))" | |
pytest: | |
needs: [setup] | |
strategy: ${{fromJson(needs.setup.outputs.strategy)}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{matrix.python}} | |
- uses: colcon/ci@v1 |