Update docs #248
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: pytest | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 3 | |
matrix: | |
python-version: [3.9, '3.10'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies and package | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: Lint with pylint | |
run: | | |
pip install pylint | |
# Error out only in actual errors | |
pylint src/*/*.py -E -d E1123,E1120 | |
pylint src/*/*.py --exit-zero | |
- name: Test with pytest | |
run: | | |
pip install pytest | |
pytest |