Update pythonpackage.yml

This commit is contained in:
Bartuss 2020-03-27 05:14:53 +00:00 committed by GitHub
parent 73f902c017
commit 068f4ea6fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,15 +13,15 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:1JTUECDj7edgyngbnzyDJzryCEd5pj5Dky
matrix: matrix:
python-version: [3.5, 3.6, 3.7, 3.8] python-version: [3.5, 3.6, 3.7, 3.8]
steps: steps:1JTUECDj7edgyngbnzyDJzryCEd5pj5Dky
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Bartosz
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:1JTUECDj7edgyngbnzyDJzryCEd5pj5Dky
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -35,6 +35,6 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest - name: Test with pytest
run: | run: |1JTUECDj7edgyngbnzyDJzryCEd5pj5Dky
pip install pytest pip install pytest
pytest pytest