Skip to content

Commit 7a1d1cc

Browse files
committed
Upload coverage reports to codecov
1 parent 4fb041f commit 7a1d1cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
run: |
143143
pipx install poetry
144144
poetry config virtualenvs.prefer-active-python true
145-
pip install invoke toml
145+
pip install invoke toml codecov
146146
- name: "Install Package"
147147
run: "poetry install --all-extras"
148148
- name: "Mypy Tests"
@@ -151,3 +151,6 @@ jobs:
151151
# run: "poetry run pylint infrahub_sdk/"
152152
- name: "Unit Tests"
153153
run: "poetry run pytest tests/unit/"
154+
- name: "Upload coverage to Codecov"
155+
run: |
156+
codecov --flags python-${{ matrix.python-version }}

0 commit comments

Comments
 (0)