Run quality control on single Python version
@@ -24,6 +24,23 @@ jobs:
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --no-ansi
+ - name: Test with pytest
+ run: |
+ poetry run pytest puresnmp
+
+ quality-control:
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+ python-version: [3.8]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
- name: Check black formatting
run: |
pip install black
@@ -32,9 +49,7 @@ jobs:
run: |
pip install pylint
pylint --reports=y --exit-zero puresnmp
- - name: Test with pytest
- run: |
- poetry run pytest puresnmp
+
publish:
