Skip to content

Commit

Permalink
specify slow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 5, 2022
1 parent 7112133 commit 4de0350
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
dependencies: [ pytest-doctestplus, pytest-openfiles, requests_mock ]
env:
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
pytest_args: '--slow'
#- package: nictools
- package: poppy
dependencies: [ pytest-astropy ]
Expand Down Expand Up @@ -174,7 +175,7 @@ jobs:
with:
path: 'tests/data/'
key: data-${{ hashFiles('tests/data/*') }}
- run: pytest -n auto --slow ${{ matrix.pytest_args }} --pyargs ${{ matrix.package }}
- run: pytest -n auto ${{ matrix.pytest_args }} --pyargs ${{ matrix.package }}
env:
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
CRDS_PATH: ${{ env.CRDS_PATH }}
Expand All @@ -201,6 +202,7 @@ jobs:
test_directory: tests
env:
CRDS_SERVER_URL: https://hst-crds.stsci.edu
pytest_args: '--slow'
#- package: stistools
# repository: spacetelescope/stistools
- package: stsynphot
Expand Down Expand Up @@ -269,7 +271,7 @@ jobs:
env:
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
CRDS_PATH: ${{ env.CRDS_PATH }}
- run: cd ${{ matrix.package }} && pytest -n auto --slow ${{ matrix.pytest_args }} ${{ matrix.test_directory }}
- run: cd ${{ matrix.package }} && pytest -n auto ${{ matrix.pytest_args }} ${{ matrix.test_directory }}
env:
CRDS_SERVER_URL: ${{ matrix.env.CRDS_SERVER_URL }}
CRDS_PATH: ${{ env.CRDS_PATH }}
Expand Down

0 comments on commit 4de0350

Please sign in to comment.