Skip to content

first commit

first commit #1

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
paths:
- "**.py"
pull_request:
branches: [ main ]
paths:
- "**.py"
jobs:
test:
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Setup Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r requirements-dev.txt
- name: Run tests
run: python -m pytest -vv