Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to remove workaround for coveralls #171

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,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
Expand Down Expand Up @@ -52,8 +53,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 |
Expand Down Expand Up @@ -111,6 +111,15 @@ linux_task:
allow_failures: true # Experimental
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

mamba_task:
Expand Down Expand Up @@ -160,8 +169,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:
Expand Down