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