Skip to content

Commit

Permalink
Merge pull request #84 from sharoonthomas/sc-74126
Browse files Browse the repository at this point in the history
Update to v3 serialization
  • Loading branch information
sharoonthomas authored May 7, 2024
2 parents 368565b + 69f2677 commit 6acfaea
Show file tree
Hide file tree
Showing 35 changed files with 696 additions and 2,011 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI (pip)
on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Python Lint
run: |
pip install ruff>=0.4.3
ruff check .
ruff format --check .
build:
strategy:
matrix:
python-version: ["3.11"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Install from source (required for the pre-commit tests)
run: pip install .

- name: Test with pytest
run: pytest tests/test_serialization.py
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.4.3
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
177 changes: 0 additions & 177 deletions docs/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion docs/authors.rst

This file was deleted.

Loading

0 comments on commit 6acfaea

Please sign in to comment.