Skip to content

Fix broken CI workflow. #14

Fix broken CI workflow.

Fix broken CI workflow. #14

Workflow file for this run

name: Testing
on: [pull_request]
permissions:
contents: read
jobs:
static_checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 0 } # deep clone for setuptools-scm
- uses: actions/setup-python@v4
with: { python-version: "3.11" }
- name: Run static analysis and format checkers
run: pipx run pre-commit run --all-files --show-diff-on-failure
test:
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
platform:
- ubuntu-latest
env:
OS: ${{ matrix.platform }}
PYTHON: ${{ matrix.python }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: "gabrielfalcao/pyenv-action@v18"
- name: install pipenv
run: pip3 install pipenv
- name: create env
run: pipenv shell
- name: install python dev packages
run: pipenv install --ignore-pipfile --dev
- name: pytest
run: pytest