From: Daniele Varrazzo Date: Tue, 13 Feb 2024 10:45:27 +0000 (+0100) Subject: ci: skip refcount tests on scheduled jobs X-Git-Tag: 3.2.0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6941df5b94997f79b429347c5d9b84e600bdd3;p=thirdparty%2Fpsycopg.git ci: skip refcount tests on scheduled jobs --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9fb9421a8..c91e939c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -225,6 +225,15 @@ jobs: $PgSvc.Start() shell: pwsh + # Refcount tests are flakey on windows, often they fail with the likes of: + # + # AssertionError: objects leaked: 0, -2 + # + # Avoid the morning bother of a failed workflow. + - name: Exclude refcount tests in daily tests + if: ${{ github.event_name == 'schedule' }} + run: echo "NOT_MARKERS=$NOT_MARKERS refcount" >> $GITHUB_ENV + - name: Build the C wheel if: ${{ matrix.impl == 'c' }} run: |