This repository was archived by the owner on Apr 6, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - uses : actions/checkout@v4
1111 - uses : dtolnay/rust-toolchain@stable
1212 - name : Cargo fmt (kernel-abi-check)
13- run : ( cd kernel-abi-check && cargo fmt --all -- --check )
13+ run : |
14+ ( cd kernel-abi-check/kernel-abi-check && cargo fmt --all -- --check )
15+ ( cd kernel-abi-check/bindings/python && cargo fmt --all -- --check )
1416 - name : Cargo fmt (build2cmake)
1517 run : ( cd build2cmake && cargo fmt --all -- --check )
1618
3234 with :
3335 components : clippy
3436 - name : Clippy (kernel-abi-check)
35- run : ( cd kernel-abi-check && cargo clippy -- -D warnings )
37+ run : |
38+ ( cd kernel-abi-check/kernel-abi-check && cargo clippy -- -D warnings )
39+ ( cd kernel-abi-check/bindings/python && cargo clippy -- -D warnings )
3640 - name : Clippy (build2cmake)
3741 run : ( cd build2cmake && cargo clippy -- -D warnings )
Original file line number Diff line number Diff line change 1+ name : Test kernels
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ types : [opened, synchronize, reopened] # trigger on PRs
9+ workflow_dispatch :
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+ cancel-in-progress : true
14+
15+ jobs :
16+ build :
17+ name : Run tests
18+ runs-on :
19+ group : aws-g6-24xlarge
20+ permissions :
21+ contents : read
22+ packages : write
23+ strategy :
24+ max-parallel : 4
25+ matrix :
26+ python-version : ["3.12"]
27+
28+ env :
29+ UV_PYTHON_PREFERENCE : only-managed
30+
31+ steps :
32+ - name : Checkout code
33+ uses : actions/checkout@v4
34+
35+ - name : Install uv and set the python version
36+ uses : astral-sh/setup-uv@v5
37+ with :
38+ python-version : ${{ matrix.python-version }}
39+
40+ - name : Install the project
41+ run : ( cd kernel-abi-check/bindings/python && uv sync --all-extras --dev)
42+
43+ - name : Run tests
44+ run : |
45+ run : ( cd kernel-abi-check/bindings/python && uv run pytest tests )
46+ uv run pytest tests
You can’t perform that action at this time.
0 commit comments