@@ -22,28 +22,21 @@ jobs:
2222 python-version : |
2323 3.8
2424 3.9
25- " 3.10"
25+ 3.10
2626 3.11
2727 3.12
2828
2929 - name : Install dependencies and run unit tests for each Python version
3030 run : |
3131 for python_version in 3.8 3.9 3.10 3.11 3.12; do
3232 echo "Setting up Python $python_version"
33- # Create a virtual environment for each Python version to avoid conflicts
34- python$python_version -m venv venv_$python_version
35- source venv_$python_version/bin/activate
36-
3733 echo "Installing dependencies for Python $python_version"
38- python -m pip install --upgrade pip
39- python -m pip install -e .
40- python -m pip install -r requirements-test.txt
34+ python$python_version -m pip install --upgrade pip
35+ python$python_version -m pip install -e .
36+ python$python_version -m pip install -r requirements-test.txt
4137
4238 echo "Running unit tests for Python $python_version"
43- python -m pytest tests/test_plugin.py tests/test_utils.py tests/test_cli.py tests/test_integration.py tests/test_dash_simple.py
44-
45- # Deactivate virtual environment
46- deactivate
39+ python$python_version -m pytest tests/test_plugin.py tests/test_utils.py tests/test_cli.py tests/test_integration.py tests/test_dash_simple.py
4740 done
4841 shell : bash
4942
6255 python-version : |
6356 3.8
6457 3.9
65- " 3.10"
58+ 3.10
6659 3.11
6760 3.12
6861
@@ -92,20 +85,13 @@ jobs:
9285 run : |
9386 for python_version in 3.8 3.9 3.10 3.11 3.12; do
9487 echo "Setting up Python $python_version"
95- # Create a virtual environment for each Python version to avoid conflicts
96- python$python_version -m venv venv_$python_version
97- source venv_$python_version/bin/activate
98-
9988 echo "Installing dependencies for Python $python_version"
100- python -m pip install --upgrade pip
101- python -m pip install -e .
102- python -m pip install -r requirements-test.txt
89+ python$python_version -m pip install --upgrade pip
90+ python$python_version -m pip install -e .
91+ python$python_version -m pip install -r requirements-test.txt
10392
10493 echo "Running browser tests for Python $python_version"
105- python -m pytest tests/test_dash_callbacks.py tests/test_dash_integration.py
106-
107- # Deactivate virtual environment
108- deactivate
94+ python$python_version -m pytest tests/test_dash_callbacks.py tests/test_dash_integration.py
10995 done
11096 env :
11197 DISPLAY : :99
0 commit comments