From 491cbe85f087153ec25e88bf8dc097b7a70e9ee3 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 11 Dec 2020 21:44:21 +0200 Subject: [PATCH] use actions if statment instead of bash --- .github/workflows/test.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 544fb4a1..0ecb9b69 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -87,15 +87,10 @@ jobs: archivebox version - name: Test built package with pytest - env: - OS: ${{ matrix.os }} + # TODO: remove this exception for windows once we get tests passing on that platform + if: !contains(matrix.os, 'windows') run: | - # TODO: remove this exception for windows once we get tests passing on that platform - if [[ "$OS" == "windows-latest" ]]; then - echo "Skipping tests on Windows" - else - python -m pytest -s - fi + python -m pytest -s docker_tests: runs-on: ubuntu-latest