From d6ff8da98baea0767ecf6f58cd19297a8bcebcfb Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Tue, 7 May 2024 16:00:24 +0100 Subject: [PATCH 1/2] Attempt to remove workaround for coveralls --- .cirrus.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 8e2e6e5..65f9497 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -13,6 +13,7 @@ env: CI_PULL_REQUEST: ${CIRRUS_PR} CI_BUILD_NUMBER: ${CIRRUS_BUILD_ID} CI_BUILD_URL: https://cirrus-ci.com/build/${CIRRUS_BUILD_ID} + CI_JOB_ID: ${CIRRUS_TASK_ID} COVERALLS_PARALLEL: "true" COVERALLS_FLAG_NAME: ${CIRRUS_TASK_NAME} # Project-specific @@ -56,8 +57,7 @@ env: -n 5 --randomly-seed=42 -rfEx --durations 10 --color yes submit_coverage_script: - pipx run coverage xml -o coverage.xml - - pipx run 'coveralls<4' --submit coverage.xml - # ^-- https://github.com/TheKevJames/coveralls-python/issues/434 + - pipx run coveralls --submit coverage.xml # Deep clone script for POSIX environments (required for setuptools-scm) .clone_script: &clone | @@ -157,8 +157,7 @@ finalize_task: container: {image: "python:3.10-bullseye"} depends_on: [test] <<: *task-template - install_script: pip install 'coveralls<4' - # ^-- https://github.com/TheKevJames/coveralls-python/issues/434 + install_script: pip install coveralls finalize_coverage_script: coveralls --finish linkcheck_task: From 16a2eaac28e209be2b15573608b31e82eee8e7fb Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Tue, 7 May 2024 16:14:51 +0100 Subject: [PATCH 2/2] Add debug statements --- .cirrus.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 65f9497..1d7641b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -103,6 +103,15 @@ linux_task: allow_failures: true # RC install_script: - python -m pip install --upgrade pip tox pipx + debug_coveralls_script: + - echo $CI_NAME + - echo $CI_BRANCH + - echo $CI_PULL_REQUEST + - echo $CI_BUILD_NUMBER + - echo $CI_BUILD_URL + - echo $CI_JOB_ID + - echo $COVERALLS_PARALLEL + - echo $COVERALLS_FLAG_NAME <<: *test-template alias: base-test