From 3a62cd73b01b6e4fa3003eb5d2c808ce54035185 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Wed, 12 Apr 2023 18:57:20 -0400 Subject: Use newer circleci orb to stop using codecov's old pypi package Closes #2226 --- .circleci/config.yml | 2 +- dev-requirements.txt | 1 - tasks.py | 7 ++----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f18b6ff9..7214201c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 orbs: - orb: invocations/orb@1.3.0 + orb: invocations/orb@1.3.1 jobs: diff --git a/dev-requirements.txt b/dev-requirements.txt index b6a40dcc..e402f20f 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -13,7 +13,6 @@ black>=22.8,<22.9 codespell>=2.2,<2.3 # Coverage! coverage>=6.2,<7 -codecov==2.1.12 # Documentation tools alabaster==0.7.13 releases>=2.0 diff --git a/tasks.py b/tasks.py index 9d2903c8..c14abacb 100644 --- a/tasks.py +++ b/tasks.py @@ -74,15 +74,12 @@ def test( @task -def coverage(ctx, opts="", codecov=False): +def coverage(ctx, opts=""): """ Execute all tests (normal and slow) with coverage enabled. """ test(ctx, coverage=True, include_slow=True, opts=opts) - # Cribbed from invocations.pytest.coverage for now - if codecov: - ctx.run("coverage xml") - ctx.run("codecov") + # NOTE: codecov now handled purely in invocations/orb @task -- cgit v1.2.1