Skip to content

Commit

Permalink
readthedocs dependicies fix, nedbat/coveragepy#1392
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDevoogdt committed May 11, 2023
1 parent c7a1715 commit f11d1e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
# COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
parallel-finished: true

publish:
Expand All @@ -118,7 +118,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with: {python-version: "3.11"}
with: {python-version: "3.10"}
- name: Retrieve pre-built distribution files
uses: actions/download-artifact@v3
with: {name: python-distribution-files, path: dist/}
Expand All @@ -129,5 +129,5 @@ jobs:
# - https://docs.github.com/en/actions/security-guides/encrypted-secrets
TWINE_REPOSITORY: pypi
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
TWINE_PASSWORD: ${{secrets.PYPI_TOKEN}}
run: pipx run tox -e publish
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ build:
python: "3.11"
jobs:
pre_install:
# - pip install numpy cython
- git config --global url."https://${UGENT_USER_PWD}@github.ugent.be/".insteadOf "https://github.ugent.be/"
- pip install numpy cython

python:
install:
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ version_scheme = "no-guess-dev"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310']


[tool.coverage.run]
disable_warnings = ["couldnt-parse"]

0 comments on commit f11d1e4

Please sign in to comment.