Skip to content

Commit

Permalink
Add additional envs to tox (#3)
Browse files Browse the repository at this point in the history
* Add editorconfig

* Delete unnecessary req file

* Add additional envs and 3.11 support

* Add to github actions

* Set codecov config
  • Loading branch information
marcgibbons committed Oct 14, 2022
1 parent 08fc11a commit e345cae
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://editorconfig.org/
root = true

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 79

[*.yaml]
indent_size = 2

[*.yml]
indent_size = 2
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
strategy:
matrix:
py:
- 3.11.0-rc.2
- '3.10'
- '3.9'
- '3.8'
- '3.7'
steps:
- uses: actions/checkout@v3
Expand Down
13 changes: 13 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
codecov:
notify:
wait_for_ci: true

coverage:
status:
project:
default:
threshold: 0%
patch:
default:
target: 100%
2 changes: 0 additions & 2 deletions dev_requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,310}
envlist = py{37,38,39,310,311}
isolated_build = True

[testenv]
Expand All @@ -11,4 +11,7 @@ usedevelop = true
[gh]
python =
3.7 = "py37"
3.8 = "py38"
3.9 = "py39"
3.10 = "py310"
3.11.0-rc2.2 = "py311"

0 comments on commit e345cae

Please sign in to comment.