Skip to content

Test

Test #20

Workflow file for this run

name: Test
on:
- workflow_dispatch
# - push
# - pull_request
# - fork
jobs:
setup-and-test:
name: Python-${{ matrix.python }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# Linux
- os: ubuntu-latest
python: 3.7
- os: ubuntu-latest
python: 3.8
- os: ubuntu-latest
python: 3.9
- os: ubuntu-latest
python: '3.10'
# macOS
- os: macos-latest
python: '3.10'
# Windows
- os: windows-latest
python: '3.10'
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run Test
run: |
pytest -v --showlocals tests/testsuite.py