Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yyolk committed Nov 10, 2022
1 parent 0c53ef5 commit c1a5603
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,16 @@ hatch env create

## Tests

Run tests during development
```sh
hatch run test
```

Run tests with matrix in ci
```sh
hatch run +py=39,310 test:pytest
```


## Versioning

Expand Down
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ dependencies = [
[tool.hatch.envs.default.scripts]
test = "pytest tests/dexie.py"

# a separate test env, run with:
# `hatch run +py=310 test:pytest`
#
# not using this yet ;)
# not using this matrix env (yet) ;)
[tool.hatch.envs.test]
dependencies = [
"pytest"
Expand All @@ -72,4 +69,9 @@ dependencies = [
test = "pytest tests/*"

[[tool.hatch.envs.test.matrix]]
python = ["310", "311"]
python = [
# keeping around for a minute, see #11
"39",
"310",
"311",
]

0 comments on commit c1a5603

Please sign in to comment.