Skip to content

Commit bebbb0a

Browse files
author
Ramon Adolfo Arambula
committed
Codecov yml + requirements-tests: added pytest-cov
1 parent 13dc084 commit bebbb0a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/codecov.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: API workflow
1+
name: Codecov Action
22

33
on: [push, pull_request]
44

@@ -9,9 +9,11 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v1
1111
- name: Install requirements
12-
run: pip install -r requirements.txt
12+
run: |
13+
pip install -r requirements-tests.txt
14+
pip install -r requirements-dev.txt
1315
- name: Run tests and collect coverage
14-
run: pytest --cov ./tests
16+
run: make tests
1517
- name: Upload coverage reports to Codecov
1618
run: |
1719
# Replace `linux` below with the appropriate OS

requirements-tests.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
pytest >= 6.2.0
77
requests >= 2.25.1
8+
pytest-cov

0 commit comments

Comments
 (0)