Skip to content

Tests

Tests #34

Workflow file for this run

name: Tests
on:
workflow_dispatch
jobs:
tests:
name: Check Python ${{ matrix.python-version }} on Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: pip install requests blessed pytest pytest-cov pytest-mock
- name: Test package
run: pytest --cov=./ --cov-report=xml