Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: publish needs full credentials not only token #50

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
uv run coverage run -m pytest
uv run coverage xml

- name: Upload coverage to Codecov
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
fail_ci_if_error: true
# Deactivate until we have a Codecov account
# - name: Upload coverage to Codecov
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# uses: codecov/codecov-action@v3
# with:
# files: ./coverage.xml
# fail_ci_if_error: true
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
# Build and publish
- name: Build and publish
env:
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
uv build
uv publish