Skip to content

ci: add GitHub Actions test suite with CI badge #1

ci: add GitHub Actions test suite with CI badge

ci: add GitHub Actions test suite with CI badge #1

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install numpy scikit-learn pytest
pip install -e .
- name: Run tests
run: pytest tests/ -v