From cca14902e1a96983e9cd2612bcbe8d354d64d6c5 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Thu, 26 Dec 2019 20:29:53 -0800 Subject: [PATCH] Move artifact step so that they are uploaded even after test failure - Useful when debugging failures --- .github/workflows/packagingtest.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/packagingtest.yml b/.github/workflows/packagingtest.yml index e93c8d7..0c9fa31 100644 --- a/.github/workflows/packagingtest.yml +++ b/.github/workflows/packagingtest.yml @@ -35,10 +35,6 @@ jobs: pip install flake8 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude benchmark flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark - - name: Test with pytest - run: | - pip install pytest - pytest - name: Packaging run: | python setup.py bdist_wheel @@ -47,3 +43,7 @@ jobs: with: name: package_dist path: dist + - name: Test with pytest + run: | + pip install pytest + pytest