Skip to content

Commit 40349c6

Browse files
Add back in circleci
1 parent f65d439 commit 40349c6

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

.circleci/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2.1
2+
orbs:
3+
codecov: codecov/codecov:3.0.0
4+
jobs:
5+
build-and-test:
6+
docker:
7+
- image: cimg/python:3.9.6
8+
steps:
9+
- checkout
10+
- run:
11+
name: Install dependencies
12+
command: pip install -r requirements.txt
13+
- run:
14+
name: Run tests and collect coverage
15+
run: |
16+
coverage run tests.py
17+
coverage xml
18+
- codecov/upload

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,5 @@ jobs:
1212
run: |
1313
coverage run tests.py
1414
coverage xml
15-
- name: Download and validate Codecov uploader
16-
run: |
17-
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
18-
curl -Os https://uploader.codecov.io/latest/linux/codecov
19-
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
20-
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
21-
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
22-
shasum -a 256 -c codecov.SHA256SUM
23-
chmod +x codecov
2415
- name: Upload coverage to Codecov
25-
run: ./codecov
16+
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)