Skip to content

Lots of changes

Lots of changes #50

Workflow file for this run

---
name: All Checks
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
paths-ignore:
- "docs/**"
- "mypyc/doc/**"
- "**/*.rst"
- "**/*.md"
- .gitignore
- CREDITS
- LICENSE
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Lint & Test for ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
max-parallel: 1
fail-fast: true
matrix:
python-version: [3.9, 3.11, 3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup environment
run: make bootstrap
- name: Install dependencies
run: make dev
- name: Test with pytest
run: make test
- name: Lint
run: make lint
# - uses: actions/checkout@v4
# - name: Set up Python ${{ matrix.python-version }}
# uses: pdm-project/setup-pdm@v3
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade tox .
# - name: Test with tox
# run: |
# tox --version
# pyversion="${{ matrix.python-version }}"
# tox -e py${pyversion/./}