Skip to content

Add CI workflow and LICENSE file #3

Add CI workflow and LICENSE file

Add CI workflow and LICENSE file #3

name: Get started with GitHub Actions
on:
push:
branches: [ main, master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
- name: Lint
run: |
ruff check .
- name: Test
run: |
pytest