File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ unit-tests :
14+ name : Unit Tests
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-go@v5
19+ with :
20+ go-version : stable
21+ - name : Build
22+ run : go build ./...
23+ - name : Vet
24+ run : go vet ./...
25+ - name : Unit tests
26+ run : go test -v -race ./...
27+
28+ integration-tests :
29+ name : Integration Tests
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : actions/setup-go@v5
34+ with :
35+ go-version : stable
36+ - uses : dtolnay/rust-toolchain@stable
37+ - name : Build Rust test server
38+ run : cargo build --manifest-path tests-integration/Cargo.toml
39+ - name : Run integration tests
40+ run : go test -v ./tests-integration/...
You can’t perform that action at this time.
0 commit comments