Skip to content

2 setup ci with GitHub actions #3

2 setup ci with GitHub actions

2 setup ci with GitHub actions #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: pip install pytest black
- name: Test with pytest
run: pytest
- name: Lint code
run: black --check --line-length 80 .