From 475b6d766ac6dabf24c8bd4e0426d105753f27f6 Mon Sep 17 00:00:00 2001 From: AlxdrPolyakov <122611538+AlxdrPolyakov@users.noreply.github.com> Date: Thu, 14 Dec 2023 19:02:13 +0000 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e479efc..c569716 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,5 +30,8 @@ jobs: - name: Testing (without coverage) run: | - source venv/bin/activate + if [ "${{ runner.os }}" == "Linux" ]; then + source venv/bin/activate + elif [ "${{ runner.os }}" == "Windows" ]; then + venv\Scripts\activate pytest tests/test_fit.py