From 21dd591fa0fd3a00fc1227dd1b43167cd8aabe3f Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 30 May 2024 14:17:03 -0500 Subject: [PATCH] PR 2489 --- .github/workflows/release_tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release_tests.yml b/.github/workflows/release_tests.yml index f5c1904260..89162bf60f 100644 --- a/.github/workflows/release_tests.yml +++ b/.github/workflows/release_tests.yml @@ -10,6 +10,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: pypi_release: @@ -45,6 +48,10 @@ jobs: - name: Canary test public API run: | + # Override the ini option for filterwarnings with an empty list to disable error on filterwarnings + # as testing the latest release API still works, not the release is warning free. + # Though still show warnings by setting warning control to 'default'. + export PYTHONWARNINGS='default' pytest tests/test_public_api.py # FIXME: c.f. https://github.com/proycon/codemetapy/issues/24