add pypy 3.10 to CI #89
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: CacheTools Utils Package | |
on: | |
push: | |
branches: [ "main" ] | |
# push_request: ? | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12", "pypy3.10"] | |
steps: | |
# Setup | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Dependencies | |
- name: Install Python dependencies and module | |
run: make venv | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
- name: Start MemCached | |
uses: niden/actions-memcached@v7 | |
# Checks | |
# - name: Check with black | |
# run: black --check CacheToolsUtils.py | |
- name: Check with flake8 | |
run: make check.flake8 | |
- name: Check the docs | |
run: make check.docs | |
- name: Check with pytest | |
run: make check.pytest | |
- name: Check with coverage | |
run: make check.coverage | |
- name: Check with pyright | |
run: make check.pyright | |
- name: Check with mypy | |
# mypy is much too slow, this is a pain:-/ | |
run: make check.mypy |