diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b645f31..e06fd08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,29 +5,31 @@ on: [push, pull_request] jobs: CI: name: Python ${{ matrix.python-version }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false max-parallel: 8 matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install build dependencies - run: pip install build wheel - - name: Install package - run: pip install .[tests] - - name: Test - run: make test + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install build dependencies + run: pip install build wheel + - name: Install package + run: pip install .[tests] + - name: Test + run: make test black: runs-on: ubuntu-22.04 steps: + - uses: actions/checkout@v4 - uses: psf/black@stable isort: runs-on: ubuntu-22.04 steps: + - uses: actions/checkout@v4 - uses: isort/isort-action@v1.1.0