Skip to content

Add pypi test

Add pypi test #71

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12"]
steps:
- name: Git clone
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install .[test]
- name: Test with pytest
run: pytest -v --cov=src tests/
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3