Skip to content

Commit 2be59e4

Browse files
committedFeb 20, 2024··
CI: add codecov token
1 parent a3f3c72 commit 2be59e4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎.github/workflows/test.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ jobs:
1414
python: [3.7, 3.11]
1515
steps:
1616
- uses: actions/checkout@v4
17-
with:
18-
fetch-depth: 0
17+
with: {fetch-depth: 0}
1918
- uses: actions/setup-python@v5
2019
with:
2120
python-version: ${{ matrix.python }}
2221
- name: Install
2322
run: pip install -U -e .[dev]
2423
- run: pytest
2524
- uses: codecov/codecov-action@v4
25+
with:
26+
token: ${{ secrets.CODECOV_TOKEN }}
2627
deploy:
2728
needs: test
2829
name: PyPI Deploy
@@ -33,11 +34,9 @@ jobs:
3334
runs-on: ubuntu-latest
3435
steps:
3536
- uses: actions/checkout@v4
36-
with:
37-
fetch-depth: 0
37+
with: {fetch-depth: 0}
3838
- uses: actions/setup-python@v5
39-
with:
40-
python-version: '3.x'
39+
with: {python-version: '3.x'}
4140
- id: dist
4241
uses: casperdcl/deploy-pypi@v2
4342
with:

0 commit comments

Comments
 (0)
Please sign in to comment.