Skip to content

Commit 90317a1

Browse files
authored
Merge pull request #177 from snok/sondrelg/codecov
Replace codecov workflow
2 parents bd338c2 + 1b86b26 commit 90317a1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/codecov.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: coverage
22

33
on:
4-
pull_request:
4+
pull_request:
55
push:
66
branches:
77
- master
@@ -19,9 +19,8 @@ jobs:
1919
with:
2020
python-version: 3.9
2121
- name: Install poetry
22-
uses: snok/install-poetry@v1.1.1
22+
uses: snok/install-poetry@v1
2323
with:
24-
virtualenvs-create: true
2524
virtualenvs-in-project: true
2625
- name: Load cached venv
2726
id: cached-poetry-dependencies
@@ -32,12 +31,12 @@ jobs:
3231
- name: Install dependencies
3332
run: poetry install
3433
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
35-
- name: Test with pytest
34+
- name: Test with Django test
3635
run: |
3736
poetry run coverage run manage.py test -v 2
3837
poetry run coverage xml
3938
- name: Upload coverage
40-
uses: codecov/codecov-action@v1
39+
uses: codecov/codecov-action@v2
4140
with:
4241
file: ./coverage.xml
4342
fail_ci_if_error: true

0 commit comments

Comments
 (0)