Skip to content

Commit

Permalink
switch pytestdev tests to tox factor
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jan 22, 2024
1 parent 2452abb commit f2cb270
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ jobs:
- linux: py310-devdeps-parallel
- linux: py311-devdeps-parallel
- linux: py312-devdeps-parallel
# separate pytest so a failure here doesn't cause the whole suite to fail
- linux: py311-pytestdev-parallel
oldest:
needs: [core, asdf-schemas]
Expand Down
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ git+https://github.com/asdf-format/asdf-unit-schemas.git
git+https://github.com/asdf-format/asdf-wcs-schemas
git+https://github.com/yaml/pyyaml.git

pytest>=0.0.dev0

numpy>=0.0.dev0
# although we don't use scipy, we include it here so that any dependency
# that uses it during these tests will use the development version
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
env_list =
compatibility
coverage
py{39,310,311,312}{,-compatibility,-coverage,-jsonschema}{,-devdeps}{,-parallel}
py{39,310,311,312}{,-compatibility,-coverage,-jsonschema}{,-devdeps}{,-parallel}{,-pytestdev}
asdf{-standard,-transform-schemas,-unit-schemas,-wcs-schemas,-coordinates-schemas,-astropy,-zarr,-compression}
astrocut
gwcs
Expand All @@ -24,6 +24,7 @@ deps =
numpydev: cython
oldestdeps: minimum_dependencies
parallel: pytest-xdist
pytestdev: pytest>=0.0.dev0
extras = all,tests
# astropy will complain if the home directory is missing
pass_env = HOME
Expand Down

0 comments on commit f2cb270

Please sign in to comment.