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 : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+ types : [opened, reopened]
7+
8+ defaults :
9+ run :
10+ shell : bash
11+
12+ jobs :
13+ build :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ max-parallel : 1
18+ matrix :
19+ os : [ubuntu-24.04, macos-13, windows-2022]
20+ python-version : ["3.13"]
21+ include :
22+ - os : ubuntu-24.04
23+ name : Linux
24+ - os : macos-13
25+ name : macOS
26+ - os : windows-2022
27+ name : Windows
28+
29+ steps :
30+ - uses : actions/checkout@v4
31+
32+ - name : Install poetry
33+ run : pipx install poetry==2.1.2
34+
35+ - name : Set up Python ${{ matrix.python-version }}
36+ uses : actions/setup-python@v5
37+ with :
38+ python-version : ${{ matrix.python-version }}
39+ cache : " poetry"
40+
41+ - name : Install dependencies
42+ run : |
43+ poetry install
44+ shell : bash
45+
46+ - name : Lint
47+ run : |
48+ poetry run python -m finecode run lint
49+ shell : bash
50+
51+ # - name: Run unit tests
52+ # if: ${{ !cancelled() }}
53+ # run: |
54+ # poetry run python -m pytest tests/
55+ # shell: bash
You can’t perform that action at this time.
0 commit comments