Skip to content

Commit

Permalink
generate-ci: fix pytest step on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 22, 2024
1 parent a2d7fb7 commit 9f6519f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ jobs:\n",
shell: bash
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/bin/activate
pip install {project_name} --find-links dist --force-reinstall
pip install pytest
{chdir}pytest
Expand Down Expand Up @@ -417,8 +417,8 @@ jobs:\n",
shell: bash
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/Scripts/activate
pip install {project_name} --find-links dist --force-reinstall
pip install pytest
{chdir}pytest
Expand All @@ -430,8 +430,8 @@ jobs:\n",
" - name: pytest
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/bin/activate
pip install {project_name} --find-links dist --force-reinstall
pip install pytest
{chdir}pytest
Expand Down Expand Up @@ -915,8 +915,8 @@ mod tests {
shell: bash
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/bin/activate
pip install example --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -967,8 +967,8 @@ mod tests {
shell: bash
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/Scripts/activate
pip install example --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down Expand Up @@ -1001,8 +1001,8 @@ mod tests {
- name: pytest
run: |
set -e
python3 -m venv venv
source ./venv/bin/activate
python3 -m venv .venv
source .venv/bin/activate
pip install example --find-links dist --force-reinstall
pip install pytest
pytest
Expand Down

0 comments on commit 9f6519f

Please sign in to comment.