Skip to content

Merge pull request #13 from caffeine-addictt/doc-update-for-pre-relea… #62

Merge pull request #13 from caffeine-addictt/doc-update-for-pre-relea…

Merge pull request #13 from caffeine-addictt/doc-update-for-pre-relea… #62

Workflow file for this run

name: Run Python tests
on: [ push ]
jobs:
build:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.x"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U coverage pytest pytest-cov
python -m pip install -r requirements.txt
- name: Lint with Ruff
run: |
python -m pip install -U ruff
ruff -v --per-file-ignores="__init__.py:F401" .
continue-on-error: true
- name: Test with pytest
run: |
coverage run -m pytest -v -s
- name: Generate Coverage Report
run: |
coverage report -m