From 2fff2fa646bb6b68a4655c59be075ba2b5019e6b Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Tue, 14 Oct 2025 11:18:34 +0200 Subject: [PATCH] Only check integrity before publishing Also skip expected Pydantic test failure --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a763858d..016065e47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -249,7 +249,7 @@ jobs: # Run pytest with lax xfail because we often add tests to pydantic # which xfail on a pending release of pydantic-core - - run: uv run --no-sync pytest --override-ini=xfail_strict=False + - run: uv run --no-sync pytest --override-ini=xfail_strict=False -k 'not test_check_pydantic_core_version' working-directory: pydantic env: PYDANTIC_PRIVATE_ALLOW_UNHANDLED_SCHEMA_TYPES: 1 @@ -514,9 +514,6 @@ jobs: - run: twine check --strict dist/* - - name: Test wheels integrity - run: for whl in dist/*.whl; do unzip -qt "$whl"; done - - uses: actions/upload-artifact@v4 with: name: pypi_files_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }} @@ -569,9 +566,6 @@ jobs: - run: ${{ (startsWith(matrix.platform.os, 'windows') && 'dir') || 'ls -lh' }} dist/ - - name: Test wheels integrity - run: for whl in dist/*.whl; do unzip -qt "$whl"; done - - uses: actions/upload-artifact@v4 with: name: pypi_files_${{ matrix.platform.os }}_${{ matrix.interpreter }}