-
-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (40 loc) · 1.02 KB
/
ci.yml
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
name: ci
on:
pull_request:
jobs:
buf-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.ref }}
- uses: bufbuild/[email protected]
- name: buf lint
run: |
buf lint
- name: buf breaking
uses: bufbuild/buf-breaking-action@v1
with:
against: 'https://github.com/getsentry/sentry-protos.git#branch=main'
codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_RELEASE_PAT }}
fetch-depth: 0
- name: Install protoc
uses: arduino/setup-protoc@v3
- uses: actions/setup-python@v2
with:
python-version: 3.11
- name: build python bindings
run: |
pip install -r requirements.txt
make build-py
- name: build rust bindings
run: |
make build-rust
- name: run python tests/examples
run: |
make test-py