From a5d4d3eab8bc9b036e82ecaa66a336c92deefbcf Mon Sep 17 00:00:00 2001 From: AlxdrPolyakov <122611538+AlxdrPolyakov@users.noreply.github.com> Date: Thu, 14 Dec 2023 19:16:03 +0000 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e1af27..40b1d2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,10 +29,11 @@ jobs: run: make venv - name: Testing (without coverage) + shell: bash run: | - if ($env:RUNNER_OS -eq "Linux") { + if [ "${{ runner.os }}" == "Linux" ]; then source venv/bin/activate - } elseif ($env:RUNNER_OS -eq "Windows") { - venv\Scripts\Activate - } + elif [ "${{ runner.os }}" == "Windows" ]; then + venv\Scripts\activate + fi pytest tests/test_fit.py