forked from agntcy/slim
-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (66 loc) · 1.79 KB
/
Copy pathintegration-tests.yaml
File metadata and controls
82 lines (66 loc) · 1.79 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
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
---
name: ci-integration-tests
on:
push:
paths:
- 'tests/**'
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
branches:
- main
pull_request:
paths:
- 'tests/**'
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
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: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: tests/go.mod
- name: Setup Rust
uses: ./.github/actions/setup-rust
- 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
- name: Run group communication integration test
working-directory: ./crates/testing
run: task test:group-session
- name: Run point to point integration test
working-directory: ./crates/testing
run: task test:point-to-point-session