Skip to content

Merge pull request #459 from zestsoftware/reinout-pkg_resources #324

Merge pull request #459 from zestsoftware/reinout-pkg_resources

Merge pull request #459 from zestsoftware/reinout-pkg_resources #324

Workflow file for this run

name: tests
on:
push:
branches: [ master ]
pull_request:
schedule:
- cron: '13 7 * * 0' # run once a week on Sunday
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
config:
# [Python version, tox env]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.12", "py312"]
- ["3.13", "py313"]
- ["pypy3.11", "pypy311"]
runs-on: ubuntu-latest
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config[0] }}
cache: 'pip'
cache-dependency-path: |
setup.*
tox.ini
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: tox -e ${{ matrix.config[1] }}