File tree Expand file tree Collapse file tree 2 files changed +45
-6
lines changed Expand file tree Collapse file tree 2 files changed +45
-6
lines changed Original file line number Diff line number Diff line change 5252 - name : Styling (autopep8)
5353 run : |
5454 python3 -m autopep8 --diff --recursive --exit-code --verbose .
55- - name : Test
56- run : >
57- coverage run -m pytest --verbose
58- -o log_cli=true
59- --log-cli-level=INFO
60- src/
6155
6256 - name : Coverage
6357 run : |
Original file line number Diff line number Diff line change 1+ ---
2+ name : Python CI Tests
3+
4+ on : # yamllint disable-line rule:truthy
5+ push :
6+ branches : ['main']
7+ pull_request :
8+ # The branches below must be a subset of the branches above
9+ branches : ['main']
10+ workflow_dispatch :
11+
12+ env :
13+ LOG_LEVEL : INFO
14+
15+ jobs :
16+ build :
17+ name : ' Run CI'
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ os : ['ubuntu-24.04', 'macos-14', 'windows-2022']
22+ python : ['3.10', '3.11', '3.12']
23+ runs-on : ${{ matrix.os }}
24+ steps :
25+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
26+
27+ - name : Setup Python
28+ uses : actions/setup-python@master
29+ with :
30+ python-version : ${{ matrix.python }}
31+
32+ - name : Install
33+ run : |
34+ pip3 install -r requirements.txt
35+
36+ - name : Test
37+ run : >
38+ coverage run -m pytest --verbose
39+ -o log_cli=true
40+ --log-cli-level=INFO
41+ src/
42+
43+ - name : Coverage
44+ run : |
45+ coverage report
You can’t perform that action at this time.
0 commit comments