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
35 changes: 35 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run SpiceCode Tests

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10' # Use a Python version compatible with your project

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest typer numpy
# Note: Ideally, you should fix your requirements.txt and use:
# pip install .
# Or at least:
# pip install -r requirements.txt
# But due to the encoding and importlib issues observed,
# installing specific dependencies needed for tests directly for now.

- name: Run tests
run: |
python -m pytest tests/analyze/
Binary file modified requirements.txt
Binary file not shown.
Loading