From 29a4f8952fbd3748ad09584bdcf794d28fabe229 Mon Sep 17 00:00:00 2001 From: Levi Blaney Date: Wed, 3 Mar 2021 02:37:24 -0500 Subject: [PATCH] fix windows test --- .github/workflows/test.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62ddc1cf2f8..93b204eeecb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,12 +3,15 @@ on: [pull_request, push] jobs: tests: runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash strategy: fail-fast: false matrix: - python-version: ['3.6.13', '3.7', '3.8'] + python-version: ['3.6', '3.7', '3.8'] os: [ubuntu-latest, macos-latest, windows-latest] - name: Python ${{ matrix.python-version }} + name: ${{ matrix.os}} Python ${{ matrix.python-version }} steps: - name: Checkout Code uses: actions/checkout@v2 @@ -36,9 +39,12 @@ jobs: if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root + - name: Install Package + run: poetry install --no-interaction + - name: Run tests env: MPLBACKEND: Agg run: | - source .venv/bin/activate + source $VENV pytest tests/