[Git][NTPsec/ntpsec][master] Update python coverage CI target to use Python 3.

Matt Selsky (@selsky) gitlab at mg.gitlab.com
Sat Jan 14 01:59:52 UTC 2023



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
95d6e9c8 by James Browning at 2023-01-13T17:38:48-08:00
Update python coverage CI target to use Python 3.


- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -274,10 +274,10 @@ python3:
 python-coverage:
   <<: *job_definition
   script:
-    - apt-get update -qq && apt-get install -y -qq netbase bison python-dev python-coverage
+    - apt-get update -qq && apt-get install -y -qq netbase bison python-dev-is-python3 python3-coverage
     - python ./waf configure --disable-doc --disable-manpage build
-    - for i in build/main/tests/pylib/test_*; do python-coverage run -a --source build/main/pylib "$i"; done
-    - python-coverage report
+    - for i in build/main/tests/pylib/test_*; do python3-coverage run -a --source build/main/pylib "$i"; done
+    - python3-coverage report
 
 clang-basic:
   <<: *job_definition



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/95d6e9c87b6a5f30175bb692756728c081a880bd

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/95d6e9c87b6a5f30175bb692756728c081a880bd
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20230114/4a7224df/attachment.htm>


More information about the vc mailing list