Skip to content

Commit

Permalink
Fix windows venv activation
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Dec 14, 2023
1 parent 877b195 commit c86d262
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,17 @@ jobs:
path: dist/*.whl

- name: Test Wheel Installation
if: runner.os != 'Windows'
run: |
python -m venv venv
if [ "${{ runner.os }}" = "Windows" ]; then
venv\Scripts\Activate.ps1
else
source venv/bin/activate
fi
source venv/bin/activate
pip install dist/*.whl
python -c "import iscc_core; iscc_core.conformance_selftest()"
- name: Test Wheel Installation on Windows
if: runner.os == 'Windows'
run: |
python -m venv venv
venv\Scripts\Activate.ps1
pip install dist/*.whl
python -c "import iscc_core; iscc_core.conformance_selftest()"

0 comments on commit c86d262

Please sign in to comment.