Skip to content

fix make test

fix make test #49

Workflow file for this run

name: Testing
on:
push:
pull_request:
types:
- "reopened"
- "opened"
workflow_call:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: pre-commit/action@v3.0.0
build:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: "Install Python dependencies (pip)"
uses: "py-actions/py-dependency-install@v4"
with:
path: "requirements.txt"
- name: Run Tests
run: |
git config --global protocol.file.allow always
pytest .