Skip to content

Commit 3611262

Browse files
authored
Fixing the tests. (#531)
1 parent 1db97c2 commit 3611262

17 files changed

+1089
-544
lines changed

.github/workflows/test.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Run basic tests
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'main'
8+
pull_request:
9+
paths:
10+
- ".github/workflows/build.yaml"
11+
- ".github/workflows/matrix.json"
12+
- "integration-tests/**"
13+
- "backends/**"
14+
- "core/**"
15+
- "router/**"
16+
- "Cargo.lock"
17+
- "rust-toolchain.toml"
18+
- "Dockerfile"
19+
branches:
20+
- 'main'
21+
22+
jobs:
23+
tests:
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
26+
cancel-in-progress: true
27+
runs-on:
28+
group: aws-highmemory-32-plus-priv
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v4
32+
- uses: actions-rust-lang/setup-rust-toolchain@v1
33+
- name: Run sccache-cache
34+
uses: mozilla-actions/sccache-action@v0.0.7
35+
- name: Compile project
36+
env:
37+
SCCACHE_GHA_ENABLED: "true"
38+
RUSTC_WRAPPER: "sccache"
39+
run: |
40+
sudo apt-get update && sudo apt-get install protobuf-compiler -y
41+
cargo test --profile=release-debug

0 commit comments

Comments
 (0)