Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
134 changes: 0 additions & 134 deletions .circleci/config.yml

This file was deleted.

54 changes: 54 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CI

on:
push:
branches: [master, main]
pull_request:
branches: [master, main]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"

- name: Lint
run: ruff check src/ tests/

- name: Run tests
run: pytest -v

build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Build package
run: |
pip install build
python -m build

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
16 changes: 12 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
*egg-info/
build/*
dist/*
__pycache__
__pycache__/
*.py[cod]
*.egg-info/
*.egg
dist/
build/
.venv/
.pytest_cache/
.ruff_cache/
*.so
.coverage
htmlcov/
2 changes: 0 additions & 2 deletions .style.yapf

This file was deleted.

Loading
Loading