From 824863ed2f5c833e0ccc9a3ab7c1c52cce593572 Mon Sep 17 00:00:00 2001 From: Brett Graham Date: Thu, 29 Feb 2024 10:29:41 -0500 Subject: [PATCH] enable nolegacypath tox factor (#146) --- .github/workflows/ci.yml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1584118..d6353cdb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - macos: py311-xdist - linux: py311-cov-xdist coverage: 'codecov' - - linux: py312-xdist + - linux: py312-xdist-nolegacypath test_downstream: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 with: diff --git a/tox.ini b/tox.ini index 02769f1d..5dab8c20 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = check-{style,security,build} - test{,-warnings,-cov,-xdist,-oldestdeps,-devdeps} + test{,-warnings,-cov,-xdist,-oldestdeps,-devdeps}{-nolegacypath} test-{jwst,romancal}-xdist build-{docs,dist} @@ -68,6 +68,7 @@ commands_pre = commands = pytest \ warnings: -W error \ + nolegacypath: -p no:legacypath \ xdist: -n auto \ jwst: --pyargs jwst --ignore-glob=timeconversion --ignore-glob=associations --ignore-glob=*/scripts/* \ romancal: --pyargs romancal \