File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,23 @@ jobs:
3636 python -m pip install --upgrade pip
3737 python -m pip install setuptools==68.2.2 tox==4.12.0 tox-gh-actions==3.2.0
3838
39- - name : Optional - Install frouros (only used by linters)
40- if : matrix.python-version == 3.9
39+ - name : Create virtual environment
4140 run : |
4241 python -m venv .venv
42+
43+ - name : Activate virtual environment (Windows)
44+ if : matrix.os == windows-2022
45+ run : |
46+ .venv\Scripts\activate
47+
48+ - name : Activate virtual environment (Linux/macOS)
49+ if : matrix.os != windows-2022
50+ run : |
4351 source .venv/bin/activate
52+
53+ - name : Optional - Install frouros (only used by linters)
54+ if : matrix.python-version == 3.9
55+ run : |
4456 pip install "pytest>=7.4.4,<7.5"
4557 pip install -e .
4658
You can’t perform that action at this time.
0 commit comments