Skip to content

Commit

Permalink
Merge pull request #240 from 23andMe/feature/v5
Browse files Browse the repository at this point in the history
Prep for 5.0.0; Run tests on 3.8, 3.12
  • Loading branch information
cblakkan authored Mar 5, 2024
2 parents f8aa2b0 + b7ae747 commit 3b5ba01
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.10]
python-version: ["3.8", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pip-delete-this-directory.txt
# Unit test / coverage reports
.tox/
xunit/
.coverage
.coverage*
.cache
nosetests.xml
coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ validator.
- keywords:
- `allow_empty`: Allow the subset to be empty (and is, therefore, also optional). This overrides the `required`
flag.

Examples:
- `subset(int(), str())`: Validators against an integer, a string, or a list of either.
- `subset(int(), str(), allow_empty=True)`: Same as above, but allows the empty set and makes the subset optional.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tox==3.15.2
tox==4.13.0
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ envlist = py38, py310
[gh-actions]
python =
3.8: py38
3.10: py310
3.12: py312

[testenv]
commands = py.test --cov yamale --cov-report term-missing yamale
deps =
ruamel.yaml<1
pytest<6
pytest-cov<3
pytest<7
pytest-cov<4
2 changes: 1 addition & 1 deletion yamale/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.4
5.0.0

0 comments on commit 3b5ba01

Please sign in to comment.