diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 1f3ed6d4..b7d5ba55 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -3,8 +3,7 @@ name: Python package on: [push] jobs: - build: - + test: runs-on: ${{ matrix.os }} strategy: max-parallel: 4 @@ -17,17 +16,20 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - - 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 }} + - 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 }}