Skip to content

Commit f11d1e4

Browse files
committed
readthedocs dependicies fix, nedbat/coveragepy#1392
1 parent c7a1715 commit f11d1e4

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
uses: coverallsapp/github-action@master
107107
with:
108108
github-token: ${{ secrets.GITHUB_TOKEN }}
109-
COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
109+
# COVERALLS_REPO_TOKEN: ${{secrets.COVERALLS_REPO_TOKEN}}
110110
parallel-finished: true
111111

112112
publish:
@@ -118,7 +118,7 @@ jobs:
118118
steps:
119119
- uses: actions/checkout@v3
120120
- uses: actions/setup-python@v4
121-
with: {python-version: "3.11"}
121+
with: {python-version: "3.10"}
122122
- name: Retrieve pre-built distribution files
123123
uses: actions/download-artifact@v3
124124
with: {name: python-distribution-files, path: dist/}
@@ -129,5 +129,5 @@ jobs:
129129
# - https://docs.github.com/en/actions/security-guides/encrypted-secrets
130130
TWINE_REPOSITORY: pypi
131131
TWINE_USERNAME: __token__
132-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
132+
TWINE_PASSWORD: ${{secrets.PYPI_TOKEN}}
133133
run: pipx run tox -e publish

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ build:
2222
python: "3.11"
2323
jobs:
2424
pre_install:
25-
# - pip install numpy cython
2625
- git config --global url."https://${UGENT_USER_PWD}@github.ugent.be/".insteadOf "https://github.ugent.be/"
26+
- pip install numpy cython
2727

2828
python:
2929
install:

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ version_scheme = "no-guess-dev"
1212
[tool.black]
1313
line-length = 120
1414
target-version = ['py38', 'py39', 'py310']
15+
16+
17+
[tool.coverage.run]
18+
disable_warnings = ["couldnt-parse"]

0 commit comments

Comments
 (0)