Test fixture #170
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: 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 . | |
- name: lint | |
run: | | |
pip install flake8 | |
flake8 --config ci_flake8.cfg src/senaite/astm | |
- name: test | |
run: | | |
python setup.py test |