From 3ee452c878a0fd7be2f64d7a9ba7057f941e5417 Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Fri, 22 Nov 2024 16:13:13 -0500 Subject: [PATCH] Fixes for failing CI --- .github/workflows/ci.yml | 2 +- tox.ini | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1005dc6..625c11b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,5 +37,5 @@ jobs: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@924441154cf3053034c6513d5e06c69d262fb9a6 # v1.13.0 with: envs: | - - linux: withromancal + - linux: romancal coverage: codecov diff --git a/tox.ini b/tox.ini index 757475bd..2a1c9e55 100644 --- a/tox.ini +++ b/tox.ini @@ -49,8 +49,7 @@ uv_resolution = oldestdeps: lowest-direct deps = xdist: pytest-xdist - cov: pytest-cov - oldestdeps: minimum_dependencies + cov: pytest-cov >= 4.1.0 rad: rad @ git+https://github.com/spacetelescope/rad.git@main#egg=rad romancal: romancal[test] @ git+https://github.com/spacetelescope/romancal.git devdeps: -r requirements-dev.txt @@ -58,7 +57,7 @@ commands_pre = {list_dependencies_command} commands = pytest \ - romancal: -W ignore::DeprecationWarning -W ignore::UserWarning -W ignore::pytest.PytestUnknownMarkWarning -W ignore::pytest.PytestUnraisableExceptionWarning -W ignore::erfa.core.ErfaWarning -W ignore::roman_datamodels.datamodels._utils.FilenameMismatchWarning -W ignore::astropy.io.fits.verify.VerifyWarning -W ignore::RuntimeWarning --pyargs romancal \ + romancal: -W ignore::DeprecationWarning -W ignore::UserWarning -W ignore::SyntaxWarning -W ignore::pytest.PytestUnknownMarkWarning -W ignore::pytest.PytestUnraisableExceptionWarning -W ignore::erfa.core.ErfaWarning -W ignore::roman_datamodels.datamodels._utils.FilenameMismatchWarning -W ignore::astropy.io.fits.verify.VerifyWarning -W ignore::RuntimeWarning --pyargs romancal \ xdist: -n auto \ cov: --cov=roman_datamodels --cov=tests --cov-config pyproject.toml --cov-report term-missing --cov-report xml \ {posargs}