Skip to content

Commit

Permalink
remove coverage report in build.yml and remove use of API token in de…
Browse files Browse the repository at this point in the history
…ploy.yml
  • Loading branch information
mbi6245 committed May 6, 2024
1 parent 51e0d68 commit f60c87f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install dependencies
run: python -m pip install .[dev] --upgrade pip
- name: Test with pytest
run: pytest --cov=./ --cov-report=xml
run: pytest # --cov=./ --cov-report=xml

# - name: Build package distribution
# if: startsWith(github.ref, 'refs/tags')
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
python-version: "3.11"
- name: Install dependencies
run: python -m pip install build . --upgrade pip
- name: Build package distribution
run: python-m build --sdist --wheel --outdir dist/ .
- name: Publish package distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Build package distribution
# run: python-m build --sdist --wheel --outdir dist/ .
# - name: Publish package distribution to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# skip_existing: true
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}

docs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f60c87f

Please sign in to comment.