Skip to content

Update pytest action #33

Update pytest action

Update pytest action #33

Workflow file for this run

name: pytest
on:
pull_request:
push:
branches:
- main
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
pip install pytest
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Run tests
run: pytest