summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2023-04-12 18:57:20 -0400
committerJeff Forcier <jeff@bitprophet.org>2023-04-12 18:57:20 -0400
commit3a62cd73b01b6e4fa3003eb5d2c808ce54035185 (patch)
tree32a12e449b91389d8c196621b4af3d146515d7dc
parentf45df8274c4b1592ba07383bb11583f7c5562a38 (diff)
Use newer circleci orb to stop using codecov's old pypi package
Closes #2226
-rw-r--r--.circleci/config.yml2
-rw-r--r--dev-requirements.txt1
-rw-r--r--tasks.py7
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