Skip to content

Commit

Permalink
[brief] Fixing the path for windows runners.
Browse files Browse the repository at this point in the history
[detailed]
  • Loading branch information
marovira committed Jun 20, 2024
1 parent 183a12f commit 3d0794d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ jobs:
python -m pip install numpy==1.26.4
python -m pip install -r requirements/ci.txt
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
if [[ "$RUNNER" == "windows-latest" ]]; then
eco "$VIRTUAL_ENV/Scripts" >> $GITHUB_PATH
else
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
fi
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
- name: Install Helios
Expand All @@ -62,17 +67,20 @@ jobs:
pip install .
- name: Ruff
shell: bash
run: |
ruff check src/helios
ruff check test
ruff check examples/cifar10
- name: Mypy
shell: bash
run: |
mypy src/helios
mypy test
mypy examples/cifar10
- name: Pytest
shell: bash
run: |
python -m pytest

0 comments on commit 3d0794d

Please sign in to comment.