-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update tested python versions, and workflows (#345)
- Loading branch information
Showing
4 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
name: 'Lock threads' | ||
# Lock closed issues that have not received any further activity for | ||
# two weeks. This does not close open issues, only humans may do that. | ||
# We find that it is easier to respond to new issues with fresh examples | ||
# rather than continuing discussions on old issues. | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
concurrency: | ||
group: lock | ||
|
||
jobs: | ||
lock: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/lock-threads@v3 | ||
- uses: dessant/lock-threads@v4 | ||
with: | ||
github-token: ${{ github.token }} | ||
issue-inactive-days: 14 | ||
pr-inactive-days: 14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
[tox] | ||
envlist = | ||
py3{11,10,9,8,7},pypy3{8,7} | ||
py3{12,11,10,9,8,7} | ||
pypy39 | ||
style | ||
typing | ||
docs | ||
skip_missing_interpreters = true | ||
|
||
[testenv] | ||
package = wheel | ||
deps = -r requirements/tests.txt | ||
commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs} | ||
|
||
[testenv:style] | ||
deps = pre-commit | ||
skip_install = true | ||
commands = pre-commit run --all-files --show-diff-on-failure | ||
commands = pre-commit run --all-files | ||
|
||
[testenv:typing] | ||
package = wheel | ||
deps = -r requirements/typing.txt | ||
commands = mypy | ||
|
||
[testenv:docs] | ||
package = wheel | ||
deps = -r requirements/docs.txt | ||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html |