support Python 3.13, update deps #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: | |
- devel | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
# quality: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Check out | |
# uses: actions/checkout@v4 | |
# - uses: actions/cache@v4 | |
# with: | |
# path: ~/.cache/pre-commit | |
# key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
# - name: Set up the environment | |
# uses: ./.github/actions/setup-poetry-env | |
# - name: Run checks | |
# run: make check | |
tox: | |
name: Tox with ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: ['3.10', '3.11', '3.12', '3.13'] | |
fail-fast: false | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup python for test ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: python -m pip install -U setuptools pip wheel "poetry>=1.8" "tox>=4" "tox-gh-actions>=3.2" | |
- name: Test with tox | |
run: tox | |
- name: Upload coverage reports to Codecov with GitHub Action on Python 3.13 | |
uses: codecov/codecov-action@v4 | |
if: ${{ matrix.python-version == '3.13' }} |