File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run SpiceCode Tests
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : ' 3.10' # Use a Python version compatible with your project
20+
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install -e .
25+ pip install pytest typer numpy
26+ # Note: Ideally, you should fix your requirements.txt and use:
27+ # pip install .
28+ # Or at least:
29+ # pip install -r requirements.txt
30+ # But due to the encoding and importlib issues observed,
31+ # installing specific dependencies needed for tests directly for now.
32+
33+ - name : Run tests
34+ run : |
35+ python -m pytest tests/analyze/
You can’t perform that action at this time.
0 commit comments