File tree Expand file tree Collapse file tree 6 files changed +76
-83
lines changed
Expand file tree Collapse file tree 6 files changed +76
-83
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ pull_request :
6+ types : [ opened, reopened, synchronize ]
7+
8+ jobs :
9+ docs :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ python-version : [ '3.11', '3.12', '3.13' ]
15+
16+ name : docs on ${{ matrix.python-version }}
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Set up CPython ${{ matrix.python-version }}
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Install package
28+ run : |
29+ pip install -e .[docs]
30+
31+ - name : Build docs
32+ shell : bash
33+ run : |
34+ cd docs
35+ sphinx-build -b html -j auto -a -n -T -W --keep-going . _build/html
36+
37+ dist :
38+ runs-on : ubuntu-latest
39+ strategy :
40+ fail-fast : false
41+ matrix :
42+ python-version : [ '3.11', '3.12', '3.13' ]
43+
44+ name : dist on ${{ matrix.python-version }}
45+ steps :
46+ - uses : actions/checkout@v4
47+ with :
48+ fetch-depth : 0
49+
50+ - name : Set up CPython ${{ matrix.python-version }}
51+ uses : actions/setup-python@v5
52+ with :
53+ python-version : ${{ matrix.python-version }}
54+
55+ - name : Install package
56+ run : |
57+ pip install -e .[docs,tests]
58+
59+ - name : Build distributions
60+ run : |
61+ python -m pip install build
62+ python -m build
Original file line number Diff line number Diff line change 1- name : Black
1+ name : Format
22
33on :
44 push :
55 pull_request :
66 types : [opened, reopened, synchronize]
77
88jobs :
9- check :
9+ black :
1010 runs-on : ubuntu-latest
1111 strategy :
1212 fail-fast : false
1313 matrix :
1414 python-version : [ '3.11', '3.12', '3.13' ]
1515
16- name : check ${{ matrix.python-version }}
16+ name : Black on ${{ matrix.python-version }}
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
2121
2222 - name : Set up CPython ${{ matrix.python-version }}
23- uses : actions/setup-python@v4
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626
3333 - name : Run black
3434 if : ${{ always() && steps.install-deps.outcome == 'success' }}
3535 run : |
36- black --check flogin examples tests
36+ black --check flogin examples tests
Original file line number Diff line number Diff line change 1- name : Pyright
1+ name : Lint
22
33on :
44 push :
55 pull_request :
66 types : [opened, reopened, synchronize]
77
88jobs :
9- check :
9+ pyright :
1010 runs-on : ubuntu-latest
1111 strategy :
1212 fail-fast : false
1313 matrix :
1414 python-version : [ '3.11', '3.12', '3.13' ]
1515
16- name : check ${{ matrix.python-version }}
16+ name : Pyright on ${{ matrix.python-version }}
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
2121
2222 - name : Set up CPython ${{ matrix.python-version }}
23- uses : actions/setup-python@v4
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626
3434 id : run-pyright
3535 if : ${{ always() && steps.install-deps.outcome == 'success' }}
3636 run : |
37- pyright --pythonversion ${{ matrix.python-version }} --pythonplatform Windows --warnings flogin examples tests
37+ pyright --pythonversion ${{ matrix.python-version }} --pythonplatform Windows --warnings flogin examples tests
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ jobs:
1515
1616 name : check ${{ matrix.python-version }}
1717 steps :
18- - uses : actions/checkout@v3
18+ - uses : actions/checkout@v4
1919 with :
2020 fetch-depth : 0
2121
2222 - name : Set up CPython ${{ matrix.python-version }}
23- uses : actions/setup-python@v4
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626
You can’t perform that action at this time.
0 commit comments