This commit is contained in:
Jakub Roztocil 2019-09-10 13:39:41 +02:00
parent b7767b3c62
commit 3fa583e591

View File

@ -3,7 +3,7 @@ name: Python package
on: [push] on: [push]
jobs: jobs:
test: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
max-parallel: 4 max-parallel: 4
@ -16,20 +16,18 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip - name: upgrade pip
- run: make install run: python -m pip install --upgrade pip
- run: make test - name: install
pycodestyle: run: make install
runs-on: ubuntu-latest - name: test
python-version: 3.7 run: make test
steps:
- name: pycodestyle - name: pycodestyle
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7'
run: make pycodestyle run: make pycodestyle
coveralls:
runs-on: ubuntu-latest
python-version: 3.7
steps:
- name: coveralls - name: coveralls
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7'
run: make coveralls run: make coveralls
env: env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}