Buster to Bookworm #30
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Build and test with Docker | |
| run: | | |
| docker build --tag s2apler . | |
| docker run --rm s2apler pytest tests/ | |
| docker run --rm s2apler flake8 s2apler | |
| docker run --rm s2apler flake8 scripts/*.py | |
| docker run --rm s2apler black s2apler --check --line-length 120 | |
| docker run --rm s2apler black scripts/*.py --check --line-length 120 | |
| docker run --rm s2apler pytest tests/ --cov s2apler --cov-fail-under=40 |