Skip to content

Merge pull request #2 from swap357/codex/create-github-workflow-for-p… #2

Merge pull request #2 from swap357/codex/create-github-workflow-for-p…

Merge pull request #2 from swap357/codex/create-github-workflow-for-p… #2

Workflow file for this run

name: Run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9", "3.8"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
pytest -v