From a2549260d040d04919220d0eebc206e8794c3e8f Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Tue, 31 Oct 2023 15:06:45 -0600 Subject: [PATCH] ci: Add experimental Python 3.13 --- .github/workflows/unit.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 10dde658b39..ec054f86c77 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -14,19 +14,28 @@ jobs: unittests: strategy: matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] - toxenv: [ py3 ] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + toxenv: [py3] experimental: [false] + check-latest: [false] + continue-on-error: [false] include: - python-version: "3.6" toxenv: lowest-supported + continue-on-error: false + check-latest: false experimental: false + - python-version: "3.13-dev" + toxenv: py3 + check-latest: true + experimental: true + continue-on-error: true name: unittest / ${{ matrix.toxenv }} / python ${{matrix.python-version}} runs-on: ubuntu-20.04 continue-on-error: ${{ matrix.experimental }} steps: - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Fetch all tags for tools/read-version fetch-depth: 0 @@ -34,9 +43,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{matrix.python-version}} + check-latest: ${{matrix.check-latest}} - name: Install tox run: pip install tox - name: Run unittest - env: - PYTEST_ADDOPTS: -v run: tox -e ${{ matrix.toxenv }}