refactored prep nmr #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Running tests: style, mypy, pytest" | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Style, mypy, pytest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.10 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install Dependencies | |
run: poetry install | |
- name: Check style | |
run: poetry run ruff check . | |
- name: Check mypy | |
run: poetry run mypy . |