Skip to content

Commit 08b876a

Browse files
committed
simplify
1 parent 9ebe486 commit 08b876a

1 file changed

Lines changed: 4 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,15 @@ on:
88
workflow_dispatch:
99

1010
jobs:
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

0 commit comments

Comments
 (0)