File tree Expand file tree Collapse file tree 7 files changed +519
-274
lines changed
Expand file tree Collapse file tree 7 files changed +519
-274
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 : Ruff
2+ on : [ push, pull_request ]
3+ jobs :
4+ ruff :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+ - uses : astral-sh/ruff-action@v3
Original file line number Diff line number Diff line change 1+ name : async-kernel test
2+
3+ on : [ push, pull_request ]
4+ jobs :
5+ build :
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ fail-fast : false
9+ matrix :
10+ os : [ubuntu-latest, windows-latest, macos-latest]
11+ python-version :
12+ - " 3.11"
13+ - " 3.12"
14+ - " 3.13"
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v6
20+ with :
21+ version : " 0.8.6"
22+ python-version : ${{ matrix.python-version }}
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+
26+ - name : Install the project
27+ run : uv sync --locked --dev
28+
29+ - name : Run the tests
30+ timeout-minutes : 15
31+ run : uv run pytest
32+
33+ - name : Run Ruff
34+ run : ruff check --output-format=github .
35+
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ docs = [
5353]
5454dev = [
5555 " debugpy" ,
56+ " ruff" ,
57+ " hatch" ,
5658 " pre-commit" ,
5759 " pytest-cov" ,
5860 " pytest-timeout" ,
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+
8+ jobs :
9+ test :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os : [ubuntu-latest, windows-latest, macos-latest]
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
18+ - run : |
19+ pip install -e ".[test]"
20+ python -m coverage run -m pytest
21+ - uses : jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
22+ coverage_report :
23+ name : Combine & check coverage
24+ needs : test
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v3
28+ - uses : jupyterlab/maintainer-tools/.github/actions/report-coverage@v1
29+ with :
30+ fail_under : 97
You can’t perform that action at this time.
0 commit comments