Skip to content

Commit abbd58b

Browse files
authored
Update test_plugin.yml
chore: update workflow
1 parent e740582 commit abbd58b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test_plugin.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
5050
- name: Docker set up QGIS
5151
run: |
52-
# NY LINJE: Opprett mappestrukturen QGIS forventer
5352
docker exec qgis-testing-environment sh -c "mkdir -p /root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/"
5453
55-
# Resten av kommandoene dine vil nå fungere
5654
docker exec qgis-testing-environment sh -c "rm -f /root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/$PLUGIN_NAME"
5755
docker exec qgis-testing-environment sh -c "ln -s /tests_directory/$PLUGIN_NAME /root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/$PLUGIN_NAME"
58-
docker exec qgis-testing-environment sh -c "pip3 install -r /tests_directory/REQUIREMENTS_TESTING.txt"
56+
57+
# ENDRING HER: Lagt til --break-system-packages
58+
docker exec qgis-testing-environment sh -c "pip3 install --break-system-packages -r /tests_directory/REQUIREMENTS_TESTING.txt"
5959
6060
docker exec qgis-testing-environment sh -c "ls -l /root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/"
6161
docker exec qgis-testing-environment sh -c "ls -l /root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/$PLUGIN_NAME"
@@ -84,6 +84,8 @@ jobs:
8484

8585
- name: Install packages
8686
run: |
87+
# Denne pip installen kjører på utsiden (i selve runner-en),
88+
# så den trenger IKKE flagget.
8789
pip install -r REQUIREMENTS_TESTING.txt
8890
pip install pylint pycodestyle
8991

0 commit comments

Comments
 (0)