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
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

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

- name: Install PyTorch (CPU)
run: pip install torch --index-url https://download.pytorch.org/whl/cpu

- name: Install JAX (CPU)
run: pip install "jax[cpu]"

- name: Install package
run: pip install -e .

- name: Run CSR builder tests
run: python -m tests.test_csr_builder

- name: Run PyTorch decoding tests
run: python -m tests.test_pt_decoding

- name: Run JAX decoding tests
run: python -m tests.test_jax_decoding

- name: Run JAX baseline tests
run: python -m tests.test_baselines_jax
Empty file added tests/__init__.py
Empty file.
Loading