Skip to content

Commit 0b1b687

Browse files
committed
add github actions testing
1 parent 8a3e4ef commit 0b1b687

3 files changed

Lines changed: 284 additions & 0 deletions

File tree

.github/workflows/clippy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Cross-platform Python Test
2+
3+
on:
4+
push:
5+
paths:
6+
- "**.py"
7+
- ".github/workflows/python-matrix.yml"
8+
pull_request:
9+
10+
jobs:
11+
test-python:
12+
name: Test on ${{ matrix.os }} (${{ matrix.arch }})
13+
runs-on: ${{ matrix.runner }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
include:
18+
- os: ubuntu
19+
arch: x86_64
20+
runner: ubuntu-latest
21+
- os: windows
22+
arch: x86_64
23+
runner: windows-latest
24+
- os: macos
25+
arch: x86_64
26+
runner: macos-13
27+
- os: macos
28+
arch: arm64
29+
runner: macos-14
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
34+
- name: Set up Python
35+
uses: actions/setup-python@v5
36+
with:
37+
python-version: "3.11"
38+
39+
- name: Run Clippy Test Position
40+
run: cd python && python clippy_agent_test.py

0 commit comments

Comments
 (0)