-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (42 loc) · 1.04 KB
/
test.yml
File metadata and controls
54 lines (42 loc) · 1.04 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
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: E2E (${{ matrix.pm }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pm: [uv, poetry, pipenv, pip]
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install uv
if: matrix.pm == 'uv'
uses: astral-sh/setup-uv@v8.0.0
- name: Install Poetry
if: matrix.pm == 'poetry'
uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Install pipenv
if: matrix.pm == 'pipenv'
run: pip install pipenv
- name: go build
run: go build ./...
- name: go vet
run: go vet ./...
- name: go test
run: go test -v -timeout 120s ./python/ -run TestE2E