From d2491bea6975009404f1797c8204af5a69af6d28 Mon Sep 17 00:00:00 2001 From: Bryna Hazelton Date: Tue, 13 Feb 2024 09:21:10 -0800 Subject: [PATCH 1/2] ignore warnings in hera_cal and hera_qm test runs --- ci/azure-piplines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/azure-piplines.yml b/ci/azure-piplines.yml index 3160fb957b..b82412d02e 100644 --- a/ci/azure-piplines.yml +++ b/ci/azure-piplines.yml @@ -30,7 +30,7 @@ jobs: displayName: Environment Info - bash: | - pytest -n auto --pyargs hera_cal + pytest -n auto --pyargs hera_cal -W ignore displayName: run hera_cal tests - job: hera_qm @@ -74,7 +74,7 @@ jobs: cd ../hera_qm pip install --no-deps . mkdir test-reports - python -m pytest hera_qm --junitxml=test-reports/xunit.xml + python -m pytest hera_qm --junitxml=test-reports/xunit.xml -W ignore displayName: run hera_qm tests - job: pyradiosky From 9246a976e7a8fa436e52c7d8ec13064c2e709b22 Mon Sep 17 00:00:00 2001 From: Bryna Hazelton Date: Wed, 14 Feb 2024 11:07:05 -0800 Subject: [PATCH 2/2] only ignore non-pyuvdata warnings --- ci/azure-piplines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/azure-piplines.yml b/ci/azure-piplines.yml index b82412d02e..f2f117e2b2 100644 --- a/ci/azure-piplines.yml +++ b/ci/azure-piplines.yml @@ -30,7 +30,7 @@ jobs: displayName: Environment Info - bash: | - pytest -n auto --pyargs hera_cal -W ignore + pytest -n auto --pyargs hera_cal -W "ignore" -W "default:::pyuvdata" displayName: run hera_cal tests - job: hera_qm @@ -74,7 +74,7 @@ jobs: cd ../hera_qm pip install --no-deps . mkdir test-reports - python -m pytest hera_qm --junitxml=test-reports/xunit.xml -W ignore + python -m pytest hera_qm --junitxml=test-reports/xunit.xml -W "ignore" -W "default:::pyuvdata" displayName: run hera_qm tests - job: pyradiosky