From d368cb984f6cb039e0986ecb5cf55fe0f167513b Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 21 Dec 2023 13:41:22 -0500 Subject: [PATCH] ci: Remove ignore for deprecation warning --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a7c501d..0e2e9fa0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,15 +23,14 @@ jobs: - run: ./manage.py compilemessages - name: Run checks and tests env: - # https://github.com/OpenDataServices/lib-cove/issues/112 - PYTHONWARNINGS: error,ignore::DeprecationWarning:libcove.lib.common + PYTHONWARNINGS: error shell: bash run: | ./manage.py migrate ./manage.py makemigrations --check --dry-run ./manage.py check --fail-level WARNING # https://github.com/OpenDataServices/flatten-tool/issues/412 - pytest -W error -W ignore::DeprecationWarning:libcove.lib.common -W ignore::ResourceWarning --cov cove_ocds --cov cove_project + pytest -W error -W ignore::ResourceWarning --cov cove_ocds --cov cove_project - env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: coveralls --service=github