Skip to content

Add CI (#6)

Add CI (#6) #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Install pre-commit
run: |
python -m pip install pre-commit
pre-commit install
- name: Run pre-commit
run: pre-commit run --all-files