Commit c1799d2c590dd8ae4a680ac274cd1560fe07ab6b
Committed by
GitHub
1 parent
4376990d
Run formatting on pull requests
Showing
1 changed file
with
9 additions
and
2 deletions
.github/workflows/tests.yml
| 1 | 1 | name: Tests |
| 2 | -on: [push] | |
| 2 | +on: | |
| 3 | + push: | |
| 4 | + branches: | |
| 5 | + - master | |
| 6 | + - v* | |
| 7 | + pull_request: | |
| 8 | + branches: | |
| 9 | + - master | |
| 3 | 10 | |
| 4 | 11 | jobs: |
| 5 | 12 | formatting: |
| 6 | 13 | name: Formatting |
| 7 | - | |
| 8 | 14 | runs-on: ubuntu-latest |
| 15 | + | |
| 9 | 16 | steps: |
| 10 | 17 | - uses: actions/checkout@v1 |
| 11 | 18 | - uses: actions/setup-python@v1 | ... | ... |