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 : Test Utils Process Result
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' utils/process_result.py'
7+ - ' utils/test_process_result.py'
8+ - ' .github/workflows/test-utils-process-result.yml'
9+ push :
10+ branches :
11+ - main
12+ paths :
13+ - ' utils/process_result.py'
14+ - ' utils/test_process_result.py'
15+ - ' .github/workflows/test-utils-process-result.yml'
16+
17+ jobs :
18+ test :
19+ if : github.event_name != 'pull_request' || github.event.pull_request.draft != true
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : read
23+
24+ steps :
25+ - name : Checkout code
26+ uses : actions/checkout@v5
27+
28+ - name : Set up Python
29+ uses : actions/setup-python@v6
30+ with :
31+ python-version : ' 3.12'
32+
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ pip install pytest
37+
38+ - name : Run pytest
39+ run : |
40+ cd utils
41+ pytest test_process_result.py -v
Original file line number Diff line number Diff line change 11** /__pycache__ /**
2- ** /.coverage
2+ ** /.coverage
3+ ** /.pytest_cache /
4+ * .pyc
5+ * .pyo
6+ .coverage. *
7+ htmlcov /
You can’t perform that action at this time.
0 commit comments