Skip to content

add unit test

add unit test #4

Workflow file for this run

name: "Pyohm CI Tests"
on: [push]
jobs:
tests-3-12:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test,dev]
# - name: Lint
# run: |
# pre-commit install
# pre-commit run --all-files
- name: Test with pytest
run: |
python -m pytest -s tests --cov=pyohm --cov-report=xml --junit-xml=report.xml