diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d71961c..a264fea 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,23 +4,22 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - cache: pip - - name: Install dependencies - run: | - pip install -e . - pip install hatch - - name: Run tests - run: hatch run cov-fail + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: pip + - name: Install dependencies + run: | + pip install -e . + pip install hatch + - name: Run tests + run: hatch run cov-fail diff --git a/pyproject.toml b/pyproject.toml index 9981105..52cfbe3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ cov-html = [ ] [[tool.hatch.envs.all.matrix]] -python = ["3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.docs] features = ["docs"]