Skip to content

[pre-commit.ci] pre-commit autoupdate #89

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #89

Workflow file for this run

name: Test Suite
on: [push, pull_request]
jobs:
tests:
name: Test Suite
runs-on: ${{ matrix.os }}
# defaults:
# run:
# shell: bash -l {0}
env:
ENV_NAME: testing
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Package and Test Deps
run: |
echo $(which python)
python -m pip install .[tests]
- name: Run Tests
run: |
python -m pytest --cov-config=.coveragerc --cov-report xml:./coverage.xml
- uses: codecov/codecov-action@v4
if: success()
with:
file: ./coverage.xml #optional