Skip to content

Misc. improvements, unit tests and mypy proofing #1

Misc. improvements, unit tests and mypy proofing

Misc. improvements, unit tests and mypy proofing #1

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: pytest --> Run tests
run: pytest .