diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-04-16 20:45:33 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-04-16 20:45:33 +0300 |
commit | f4223ebe1ecd6d636fdd9e1ff2d0dd04009a4984 (patch) | |
tree | c1dcd00a9266c50a35260d07f21259bdc5f8c38e | |
parent | 8e54bc9a57b4056e068e207780c1f40f402cc7dc (diff) |
ci: Don’t invoke with python -m
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b59bbe0a7..a1e273c8f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,8 +15,8 @@ test-other: image: gajim-test stage: test script: - - python3 -m build - - python3 ./pep517build/build_metadata.py + - pyproject-build + - python ./pep517build/build_metadata.py - appstream-util validate dist/metadata/org.gajim.Gajim.appdata.xml interruptible: true @@ -65,9 +65,9 @@ test-unittest: stage: test script: - pip install git+https://dev.gajim.org/gajim/python-nbxmpp.git - - coverage run --source=gajim -m unittest discover -s test -v - - coverage report -mi - - coverage xml -i + - python-coverage run --source=gajim -m unittest discover -s test -v + - python-coverage report -mi + - python-coverage xml -i coverage: "/TOTAL.+ ([0-9]{1,3}%)/" artifacts: reports: @@ -85,7 +85,7 @@ build-unix: - if: '$NIGHTLY_BUILD' - if: '$CI_COMMIT_TAG' script: - - python -m build + - pyproject-build artifacts: name: "gajim-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA" |