]> granicus.if.org Git - graphviz/commitdiff
Refactor out pytest from test.sh and rename to install-packages.sh
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sat, 25 Jul 2020 21:03:02 +0000 (23:03 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 30 Jul 2020 14:11:12 +0000 (16:11 +0200)
.gitlab-ci.yml
ci/install-packages.sh [moved from ci/test.sh with 96% similarity]

index 8f0c50df6de497272a9cf9e5a64f9029e5c8d7e6..8a8994b5641901be6776cedc3d8ad4f5a55e8a97 100644 (file)
@@ -173,7 +173,8 @@ portable-source:
 .test_template: &test_definition
     stage: test
     script:
-        - ci/test.sh
+        - ci/install-packages.sh
+        - python3 -m pytest --junitxml=report.xml tests rtest
     artifacts:
         reports:
             junit: ./report.xml
similarity index 96%
rename from ci/test.sh
rename to ci/install-packages.sh
index 8db4df30fc3bbb2b9ba58a324106881827fae18c..adc62b27a2ac07cb511e9d2fc7fd69d218ef3fac 100755 (executable)
@@ -30,4 +30,3 @@ else
         ${DIR}/os/${ARCH}/graphviz-plugins-gd-${GV_VERSION}*.rpm \
         ${DIR}/os/${ARCH}/graphviz-nox-${GV_VERSION}*.rpm
 fi
-python3 -m pytest --junitxml=report.xml tests rtest