Skip to content

Misc. improvements, unit tests and mypy proofing #2

Misc. improvements, unit tests and mypy proofing

Misc. improvements, unit tests and mypy proofing #2

Workflow file for this run

name: test-code
on: [push, pull_request]
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
# Use pytest to run tests
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install repo
run: |
python -m pip install .
- name: pytest --> Run tests
run: pytest .