File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020env :
2121 # plugin name/directory where the code for the plugin is stored
2222 PLUGIN_NAME : geovita_processing_plugin
23- # python notation to test running inside plugin
24- TESTS_RUN_FUNCTION : geovita_processing_plugin.test_suite.test_package
23+ # TESTS_RUN_FUNCTION er ikke lenger nødvendig med pytest
2524 # Docker settings
2625 DOCKER_IMAGE : qgis/qgis
2726
6463
6564 - name : Docker run plugin tests
6665 run : |
67- # ENDRING HER: Bruker full sti til qgis_testrunner.sh
68- docker exec qgis-testing-environment sh -c "xvfb-run /usr/bin/qgis_testrunner.sh $TESTS_RUN_FUNCTION"
66+ # ENDRING HER: Kjører pytest direkte.
67+ # Vi bytter katalog til /tests_directory først, slik at pytest finner testfilene.
68+ docker exec qgis-testing-environment sh -c "cd /tests_directory && xvfb-run pytest"
6969
7070 Check-code-quality :
7171 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments