diff --git "a/.changes/unreleased/\360\237\244\226 CI & Build-20260925-073000.yaml" "b/.changes/unreleased/\360\237\244\226 CI & Build-20260925-073000.yaml" new file mode 100644 index 0000000..30463e7 --- /dev/null +++ "b/.changes/unreleased/\360\237\244\226 CI & Build-20260925-073000.yaml" @@ -0,0 +1,3 @@ +kind: 🤖 CI & Build +body: Repair the test workflow. It had failed on every run because its DSV credentials were dead; it now runs against a dev tenant with a dedicated read-only CI client. Dropped Python 3.7 from the CI matrix (not available on ubuntu-24.04) and disabled fail-fast so each version reports its own result. +time: 2026-09-25T07:30:00.000000-07:00 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d953df..777a383 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,8 +10,9 @@ jobs: runs-on: ubuntu-latest environment: testing strategy: + fail-fast: false # one version failing must not hide the others' results matrix: - python: [3.7, 3.8, 3.9, "3.10", "3.11"] + python: [3.8, 3.9, "3.10", "3.11"] # 3.7 is not available on ubuntu-24.04 steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 @@ -28,10 +29,12 @@ jobs: - name: Run Tox # Run tox using the version of Python in `PATH` run: tox -e py + # Test-only credentials (read-only on test:sdk). DSV_CLIENT_ID/SECRET without the + # TEST_ prefix belong to release.yml, which uses them to fetch the PyPI token. env: - DSV_CLIENT_ID: ${{ secrets.DSV_CLIENT_ID }} - DSV_CLIENT_SECRET: ${{ secrets.DSV_CLIENT_SECRET }} - DSV_BASE_URL: ${{ secrets.DSV_BASE_URL }} + DSV_CLIENT_ID: ${{ secrets.DSV_TEST_CLIENT_ID }} + DSV_CLIENT_SECRET: ${{ secrets.DSV_TEST_CLIENT_SECRET }} + DSV_BASE_URL: ${{ secrets.DSV_TEST_BASE_URL }} - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3 with: fail_ci_if_error: false diff --git a/tox.ini b/tox.ini index 413e712..af4b05b 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ # Docs for tox config -> https://tox.readthedocs.io/en/latest/config.html [tox] -envlist = 3.7, 3.8, 3.9, 3.10, 3.11 +envlist = 3.8, 3.9, 3.10, 3.11 isolated_build = True skipsdist = True