Skip to content

Commit

Permalink
Add smaller tests for linux and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Melanie Clarke committed Aug 13, 2023
1 parent b581aeb commit 89af577
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
envs: |
- macos: test-alldeps
python-version: 3.11
- linux: test-alldeps-small
python-version: 3.11
- windows: test-alldeps-small
python-version: 3.11
build-docs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
with:
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
check-{style,security}
test{,-oldestdeps,-alldeps}{,-pyargs,-warnings,-cov}
test{,-oldestdeps,-alldeps}{,-pyargs,-warnings,-cov,-small}
build-{docs,dist}

# tox environments are constructed with so-called 'factors' (or terms)
Expand Down Expand Up @@ -37,6 +37,7 @@ description =
pyargs: with --pyargs on installed package
warnings: treating warnings as errors
cov: with coverage
small: skipping the most resource-intensive tests
pass_env =
TOXENV
CI
Expand Down Expand Up @@ -67,6 +68,7 @@ commands =
pip freeze
pytest \
cov: --cov=sofia_redux --cov-report=xml --cov-report=html
small: --ignore=sofia_redux/scan
warnings: -W error \
pyargs: {toxinidir}/docs --pyargs sofia_redux \
{posargs}
Expand Down

0 comments on commit 89af577

Please sign in to comment.