forked from agntcy/slim
-
Notifications
You must be signed in to change notification settings - Fork 0
95 lines (76 loc) · 2.09 KB
/
Copy pathintegration-tests.yaml
File metadata and controls
95 lines (76 loc) · 2.09 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
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
---
name: ci-integration-tests
on:
push:
paths:
- 'tests/**'
- 'data-plane/**'
branches:
- main
pull_request:
paths:
- 'tests/**'
- 'data-plane/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
integration-tests:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
shell: bash
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Go
uses: ./.github/actions/setup-go
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
workspace: ./data-plane
- name: Setup Java
uses: ./.github/actions/setup-java
with:
java-version: '21'
- name: Setup .NET
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
dotnet-version: "8.0.x"
- name: Setup UV
uses: ./.github/actions/setup-python
with:
uv-install: true
- name: Run integration test suite
working-directory: ./tests
run: task tests:integration
sessions-test:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
shell: bash
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
workspace: ./data-plane
- name: Run group communication integration test
working-directory: ./data-plane/testing
run: task test:group-session
- name: Run point to point integration test
working-directory: ./data-plane/testing
run: task test:point-to-point-session