Skip to content

Add a utility script that re-triggers hubverse-transform-model-output… #78

Add a utility script that re-triggers hubverse-transform-model-output…

Add a utility script that re-triggers hubverse-transform-model-output… #78

name: run-code-checks
on:
push:
pull_request:
# to avoid duplicate workflow runs, don't run when PR is synchronized
# (which is the default) because it will run on the push
types: [opened, reopened, ready_for_review]
workflow_dispatch:
jobs:
run-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set up Python 🐍
uses: actions/setup-python@v5
with:
cache: pip
- name: Install dependencies 📦️
run: |
pip install -r requirements/requirements-dev.txt -e .
- name: lint 🧹
run: ruff check
- name: type check ✔️
run: mypy . --ignore-missing-imports --disable-error-code=attr-defined
- name: run tests 🧪
run: pytest