-
Notifications
You must be signed in to change notification settings - Fork 0
95 lines (76 loc) · 1.76 KB
/
ci.yml
File metadata and controls
95 lines (76 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: CI Tests
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11"]
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
- name: Lint
run: |
cd sdks/python
uv run ruff check
uv run ruff format --check
- name: Lint meta
run: |
cd meta
uv run ruff check
uv run ruff format --check
- name: Test meta with pytest
run: |
cd meta
uv run python -m pytest
- name: Type check meta
run: |
cd meta
uv run pyrefly check
- name: Run tests
run: |
cd sdks/python
uv run python -m pytest
- name: Type check
run: |
cd sdks/python
uv run pyrefly check
julia-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
julia-version: ["1.10", "1.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Julia ${{ matrix.julia-version }}
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
- name: Run tests
run: |
cd sdks/julia/LogicalQueryProtocol.jl
julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.test()'
go-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
go-version: ["1.25"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Run tests
run: |
cd sdks/go
go test -v ./test/...