From 0169151aa363b0f7fefd47cfd4432c76195c7a8a Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Tue, 10 Sep 2019 14:02:11 +0200 Subject: [PATCH] worflow --- .github/workflows/pythonpackage.yml | 35 ++++++++++++++++------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 6fcf22db..bcaa7318 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -11,14 +11,14 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] python-version: [3.6, 3.7] steps: - - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - run: python -m pip install --upgrade pip - - run: pip install --upgrade --editable . - - run: python setup.py test + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - run: python -m pip install --upgrade pip + - run: pip install --upgrade --editable . + - run: python setup.py test test-extras: # coverage and extra tests only once @@ -27,10 +27,15 @@ jobs: matrix: python-version: [3.7] steps: - - run: make install - - run: make test - - run: make test-dist - - run: make pycodestyle - - run: make coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - run: make install + - run: make test + - run: make test-dist + - run: make pycodestyle + - run: make coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}