File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches : [ main ]
66 pull_request :
77
8+ permissions :
9+ contents : read
10+
11+ concurrency :
12+ group : ci-${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
815jobs :
916 test :
10- runs-on : ubuntu-latest
17+ name : Python ${{ matrix.python-version }} / ${{ matrix.os }}
18+ runs-on : ${{ matrix.os }}
19+ timeout-minutes : 20
20+ strategy :
21+ fail-fast : false
22+ matrix :
23+ os : [ubuntu-latest, windows-latest]
24+ python-version : ['3.12']
25+
1126 steps :
1227 - uses : actions/checkout@v4
1328
14- - name : Set up Python 3.12
29+ - name : Set up Python
1530 uses : actions/setup-python@v5
1631 with :
17- python-version : ' 3.12'
32+ python-version : ${{ matrix.python-version }}
33+ cache : pip
34+
35+ - name : Install dependencies
36+ run : python -m pip install -r requirements.txt
37+
38+ - name : Verify dependency consistency
39+ run : python -m pip check
40+
41+ - name : Run full test suite
42+ run : python -m pytest -q --tb=short
1843
19- - name : Install test runner
20- run : pip install pytest
44+ - name : Compile Python sources
45+ run : python -m compileall autogen_starter autogen_dashboard maf_starter main.py -q
2146
22- - name : Run static contract tests
23- run : python -m pytest tests/test_phase5_ui_contract.py tests/test_phase5_operator_views.py -v
47+ - name : Validate dashboard JavaScript
48+ run : node --check autogen_dashboard/static/app.js
You can’t perform that action at this time.
0 commit comments