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 pytest typer
25+ # Note: Ideally, you should fix your requirements.txt and use:
26+ # pip install .
27+ # Or at least:
28+ # pip install -r requirements.txt
29+ # But due to the encoding and importlib issues observed,
30+ # installing specific dependencies needed for tests directly for now.
31+
32+ - name : Run tests
33+ run : |
34+ python -m pytest tests/analyze_all_langs/
You can’t perform that action at this time.
0 commit comments