Skip to content

Commit bf8ade9

Browse files
Merge pull request #4 from codecov/master
Merge back in upstream
2 parents 7488388 + 523096d commit bf8ade9

File tree

7 files changed

+56
-56
lines changed

7 files changed

+56
-56
lines changed

.circleci/config.yml

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

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Workflow for Codecov example-python
2+
on: [push, pull_request]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Set up Python 3.9
10+
uses: actions/setup-python@v2
11+
with:
12+
python-version: 3.9
13+
- name: Install dependencies
14+
run: pip install -r requirements.txt
15+
- name: Run tests and collect coverage
16+
run: |
17+
coverage run tests.py
18+
coverage xml
19+
- name: Upload coverage to Codecov
20+
uses: codecov/codecov-action@v2

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
## Guide
66

77
### GitHub Actions
8-
A minimal configuration for public repos:
8+
A minimal configuration might look like:
99

1010
```yml
1111
steps:
1212
# (Other steps go here)
1313
- name: "Upload coverage to Codecov"
14-
uses: codecov/codecov-action@v1
14+
uses: codecov/codecov-action@v2
1515
with:
1616
fail_ci_if_error: true
17+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
1718
```
1819
1920
See [codecov/codecov-action](https://github.com/codecov/codecov-action) for

azure-pipelines.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage

0 commit comments

Comments
 (0)