Skip to content

chore(ci): update check.yml #1

chore(ci): update check.yml

chore(ci): update check.yml #1

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- "main"
pull_request:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: install dependencies
run: pip install -r requirements-dev.txt
lint:
runs-on: ubuntu-latest
needs: setup
steps:
- name: run linter
run: black src
pytest:
runs-on: ubuntu-latest
needs: setup
steps:
- name: run tests
run: pytest