File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
11- syntax-and-imports :
11+ syntax :
1212 runs-on : ubuntu-latest
13- strategy :
14- fail-fast : false
15- matrix :
16- python-version : ['3.8', '3.11', '3.12']
17-
1813 steps :
1914 - uses : actions/checkout@v4
2015
21- - name : Set up Python ${{ matrix.python-version }}
16+ - name : Set up Python
2217 uses : actions/setup-python@v5
2318 with :
24- python-version : ${{ matrix.python-version }}
19+ python-version : ' 3.11 '
2520
2621 - name : Syntax check
27- run : python -m py_compile $(ls *.py)
28-
29- - name : Install dependencies
30- run : |
31- python -m pip install --upgrade pip
32- pip install -r requirements.txt
33-
34- - name : Import check
35- run : |
36- python -c "import benchmarking, benchmarking_pi4, benchmarking_pi5"
37- python -c "import analyze_results, analyze_results_pi4, analyse_results_computer"
38- python -c "import MMLU, visualize_mmlu, compare_platforms"
22+ run : python -m py_compile *.py
You can’t perform that action at this time.
0 commit comments