Skip to content

! manual run for commit checks #8

! manual run for commit checks

! manual run for commit checks #8

Workflow file for this run

name: Commit Checks
on:
workflow_dispatch:
push:
branches:
- '**'
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
py3:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: python3 -m pip install poetry
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run tox -e py3,lint
py2:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- pypy2.7
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --no-deps -r requirements.txt
python -m pip install pytest
- name: Run tests
run: python -m pytest