Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxdrPolyakov authored Dec 14, 2023
1 parent 9623da7 commit a5d4d3e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a5d4d3e

Please sign in to comment.