From e74a3f70eac5338dc6dd948f13e513c68d8ba663 Mon Sep 17 00:00:00 2001 From: Andrey Kislyuk Date: Sun, 10 Dec 2023 22:57:46 -0800 Subject: [PATCH] Add Python 3.12 to CI matrix --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b687b8b..d74a365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,23 +9,26 @@ jobs: max-parallel: 8 matrix: os: [ubuntu-20.04, ubuntu-22.04, macos-12] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{matrix.python-version}} - run: | if [[ $(uname) == Linux ]]; then sudo apt-get install --no-install-recommends python3-openssl python3-lxml; fi - run: make install - - run: make lint + - if: ${{matrix.python-version == '3.12'}} + run: make lint - run: make test - uses: codecov/codecov-action@v3 black: runs-on: ubuntu-22.04 steps: - - uses: psf/black@stable + - uses: actions/checkout@v4 + - uses: psf/black@stable isort: runs-on: ubuntu-22.04 steps: - - uses: isort/isort-action@v1.1.0 + - uses: actions/checkout@v4 + - uses: isort/isort-action@v1.1.0