Skip to content

Commit 79571e3

Browse files
committed
fix coverage
1 parent 891d4c4 commit 79571e3

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,21 @@ jobs:
5050

5151
- run: pip install -r requirements/testing.txt -r requirements/pyproject.txt
5252

53-
- run: make test
53+
- name: test with dotenv
54+
run: make test
55+
env:
56+
COVERAGE_FILE: .coverage.${{ runner.os }}-py${{ matrix.python }}-with-dotenv
57+
CONTEXT: ${{ runner.os }}-py${{ matrix.python }}-with-dotenv
5458

59+
- run: pip uninstall -y python-dotenv
60+
61+
- name: test without dotenv
62+
run: make test
63+
env:
64+
COVERAGE_FILE: .coverage.${{ runner.os }}-py${{ matrix.python }}-without-dotenv
65+
CONTEXT: ${{ runner.os }}-py${{ matrix.python }}-without-dotenv
66+
67+
- run: coverage combine
5568
- run: coverage xml
5669

5770
- uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)