Skip to content

Use pyproject.toml purely #8

Use pyproject.toml purely

Use pyproject.toml purely #8

Workflow file for this run

name: python
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
PIPENV_VENV_IN_PROJECT: 1
jobs:
style-check:
name: Lint on Python ${{matrix.python-version}} @${{matrix.os-image}}
runs-on: ${{matrix.os-image}}
strategy:
matrix:
os-image: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install PipEnv
run: pip install pipenv
- name: Install development packages with PipEnv
run: python3 ./bootstrap.py --dev
- name: Lint with flake8 and mypy
run: |
pipenv run flake8
pipenv run mypy .
test:
name: Test on Python ${{matrix.python-version}} @${{matrix.os-image}}
runs-on: ${{matrix.os-image}}
strategy:
matrix:
os-image: ["ubuntu-latest", "windows-latest", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python-version}}
- name: Install PipEnv
run: pip install pipenv
- name: Install development packages with PipEnv
run: python3 ./bootstrap.py --dev
- name: Test with pytest
run: |
pipenv run pytest