Merge pull request #81 from senaite/changelog-backfill-pr-numbers #560
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: Test senaite.astm | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| test: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: | | |
| 3.8 | |
| 3.9 | |
| 3.10 | |
| cache: 'pip' | |
| - name: install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -e ".[dev]" | |
| - name: lint | |
| run: | | |
| pip install flake8 | |
| flake8 --config ci_flake8.cfg src/senaite/astm | |
| - name: test | |
| run: | | |
| pytest src/senaite/astm/tests |