Files
PassioGo/.github/workflows/testing.yml
T
2024-07-15 10:25:02 -04:00

33 lines
674 B
YAML

# This workflow runs pytest on various Python versions when there is a push
name: Testing Package
on: push
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest