Skip to content

Commit 15b283e

Browse files
chfwgithub-actions[bot]
authored andcommitted
This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst
1 parent 7d19abf commit 15b283e

5 files changed

Lines changed: 29 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [Ubuntu]
14-
python_version: ["3.9.16"]
14+
python_version: ["3.9.25", "3.12.12", "3.13.9", "3.14.1"]
1515

1616
steps:
1717
- uses: actions/checkout@v2
@@ -29,7 +29,8 @@ jobs:
2929
- name: test
3030
run: |
3131
pip freeze
32-
coverage run -m --source=pyexcel_htmlr pytest --doctest-modules && coverage report --show-missing
32+
make test
33+
3334
- name: Upload coverage
3435
uses: codecov/codecov-action@v1
3536
with:

.readthedocs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.12"
12+
13+
# Build documentation in the docs/ directory with Sphinx
14+
sphinx:
15+
configuration: docs/source/conf.py
16+
17+
# Optionally build your docs in additional formats such as PDF
18+
formats:
19+
- pdf
20+
21+
python:
22+
install:
23+
- requirements: docs/requirements.txt

lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pip install flake8
2-
flake8 --exclude=.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs
2+
flake8 --exclude=.venv,.moban.d,docs,setup.py --builtins=unicode,xrange,long . && python setup.py checkdocs

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def filter_out_test_code(file_handle):
199199
keywords=KEYWORDS,
200200
python_requires=PYTHON_REQUIRES,
201201
extras_require=EXTRAS_REQUIRE,
202-
tests_require=["pytest"],
202+
tests_require=["nose"],
203203
install_requires=INSTALL_REQUIRES,
204204
packages=PACKAGES,
205205
include_package_data=True,

tests/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
pytest
2-
mock;python_version<"3"
31
codecov
42
coverage
53
flake8
@@ -9,5 +7,6 @@ collective.checkdocs
97
pygments
108
moban
119
moban_jinja2_github
10+
pytest
1211
pyexcel-text
1312
pyexcel

0 commit comments

Comments
 (0)