Skip to content

Commit

Permalink
CI: add codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Feb 20, 2024
1 parent a3f3c72 commit 2be59e4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ jobs:
python: [3.7, 3.11]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
with: {fetch-depth: 0}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install
run: pip install -U -e .[dev]
- run: pytest
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
deploy:
needs: test
name: PyPI Deploy
Expand All @@ -33,11 +34,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
with: {fetch-depth: 0}
- uses: actions/setup-python@v5
with:
python-version: '3.x'
with: {python-version: '3.x'}
- id: dist
uses: casperdcl/deploy-pypi@v2
with:
Expand Down

0 comments on commit 2be59e4

Please sign in to comment.