From 3fa583e591d8e996e8f52b6255dd2046c6a2d1a0 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Tue, 10 Sep 2019 13:39:41 +0200 Subject: [PATCH] workflow --- .github/workflows/pythonpackage.yml | 34 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index b7d5ba55..958fb5c5 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -3,7 +3,7 @@ name: Python package on: [push] jobs: - test: + build: runs-on: ${{ matrix.os }} strategy: max-parallel: 4 @@ -16,20 +16,18 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - - run: python -m pip install --upgrade pip - - run: make install - - run: make test - pycodestyle: - runs-on: ubuntu-latest - python-version: 3.7 - steps: - - name: pycodestyle - run: make pycodestyle - coveralls: - runs-on: ubuntu-latest - python-version: 3.7 - steps: - - name: coveralls - run: make coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - name: upgrade pip + run: python -m pip install --upgrade pip + - name: install + run: make install + - name: test + run: make test + - name: pycodestyle + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' + run: make pycodestyle + - name: coveralls + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' + run: make coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} +