File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -81,24 +81,11 @@ jobs:
8181
8282 - name : Install Python requirements
8383 run : |
84- apt update && apt install -y python3-pip python3-venv pipx
85- # Create a virtual environment
86- cd /home/root/
87- pipx run qgis-venv-creator --venv-name ".venv"
88- # Activate the virtual environment
89- . .venv/bin/activate
90- # Install the requirements
84+ python3 -m pip install -U pip setuptools wheel
9185 python3 -m pip install -U -r requirements/testing.txt
9286
9387 - name : Run Unit tests
94- run : |
95- cd /home/root/
96- # Activate the virtual environment
97- . .venv/bin/activate
98- # Run the tests
99- # xvfb-run is used to run the tests in a virtual framebuffer
100- # This is necessary because QGIS requires a display to run
101- xvfb-run python3 -m pytest tests/qgis --junitxml=junit/test-results-qgis.xml --cov-report=xml:coverage-reports/coverage-qgis.xml
88+ run : pytest tests/qgis --junitxml=junit/test-results-qgis.xml --cov-report=xml:coverage-reports/coverage-qgis.xml
10289
10390 - name : Upload coverage to Codecov
10491 uses : codecov/codecov-action@v5
You can’t perform that action at this time.
0 commit comments