Add lint and build actions #1

Manually merged
MichaelBradley merged 30 commits from actions into main 2025-02-23 06:10:41 -05:00
Showing only changes of commit e86311ee0d - Show all commits

View file

@ -36,6 +36,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# TODO: Find some other method of managing this that doesn't require me to set stuff up myself
- name: Set up Python toolchain
uses: actions/setup-python@v5
with:
@ -54,10 +55,12 @@ jobs:
run: |
source venv/bin/activate
maturin develop
- name: Run Python tests
run: |
source venv/bin/activate
pytest tests/*.py
# TODO: Moving tests to another job feels like better form
# FIXME: The runner's Python version is 3.9, which breaks one some of the type syntax found in the tests
# - name: Run Python tests
# run: |
# source venv/bin/activate
# pytest tests/*.py
- name: Run Rust tests
run: |
source venv/bin/activate