Skip to content

Commit b129602

Browse files
ci: Update codcov GH action to newest version (#219)
1 parent 5355f98 commit b129602

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: Semantic Tests
22
on:
33
push:
44
branches:
@@ -8,6 +8,7 @@ on:
88

99
jobs:
1010
test-stable-versions:
11+
environment: Tests
1112
strategy:
1213
fail-fast: false
1314
matrix:
@@ -57,13 +58,14 @@ jobs:
5758
- run: sudo apt-get install graphviz graphviz-dev
5859
- run: pip install tox
5960
- run: tox -e pydantic${{ matrix.pydantic_version }}-sphinx${{ matrix.sphinx_version }}
60-
- name: Codecov
61-
uses: codecov/codecov-action@v2.1.0
61+
- name: Code Coverage
62+
uses: codecov/codecov-action@v4
6263
with:
6364
fail_ci_if_error: true
65+
token: ${{ secrets.CODACY_PROJECT_TOKEN }}
6466

6567
test-latest-version:
66-
environment: ci
68+
environment: Tests
6769
runs-on: ubuntu-22.04
6870
steps:
6971
- uses: actions/checkout@v2
@@ -79,7 +81,7 @@ jobs:
7981
fail_ci_if_error: true
8082

8183
test-no-erdantic-version:
82-
environment: ci
84+
environment: Tests
8385
runs-on: ubuntu-22.04
8486
steps:
8587
- uses: actions/checkout@v2
@@ -90,7 +92,7 @@ jobs:
9092
- run: tox -e no_erdantic
9193

9294
test-development-versions-deps:
93-
environment: ci
95+
environment: Tests
9496
runs-on: ubuntu-22.04
9597
steps:
9698
- uses: actions/checkout@v2
@@ -104,7 +106,7 @@ jobs:
104106
- run: echo "Done"
105107

106108
test-linter:
107-
environment: ci
109+
environment: Tests
108110
runs-on: ubuntu-22.04
109111
steps:
110112
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)