Skip to content

! workflow fixes

! workflow fixes #11

Workflow file for this run

name: Commit Checks
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
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
py2:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7]
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4 # v4 for python 2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --no-deps -r requirements.txt
- name: Run tests
run: python -m pytest