-
Notifications
You must be signed in to change notification settings - Fork 13
93 lines (78 loc) · 2.54 KB
/
test.integration.yaml
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
name: "Test - Integration"
on:
push:
branches:
- "leo/sy-685-integration-testing"
workflow_dispatch:
permissions:
contents: write
packages: write
jobs:
test-integration-ubuntu:
runs-on: "Ubuntu"
timeout-minutes: 1440
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Diff Changes
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
changed:
- "client/**"
- "freighter/py/**"
- "synnax/**"
- "cesium/**"
- "aspen/**"
- "x/**"
- "freighter/**"
- ".github/workflows/test.integration.yaml"
- name: Install Dependencies
if: steps.filter.outputs.changed == 'true'
run: pnpm i --no-frozen-lockfile
- name: Build client
if: steps.filter.outputs.changed == 'true'
run: pnpm build:client
- name: Poetry install
if: steps.filter.outputs.changed == 'true'
run: poetry install
working-directory: ./integration/py
- name: Mini Test
if: steps.filter.outputs.changed == 'true'
run: ./run-integration.sh tests/ws-d-r-mini.json
working-directory: ./integration
- name: Delete Test
if: steps.filter.outputs.changed == 'true'
run: ./run-integration.sh tests/delete-test.json
working-directory: ./integration
- name: Load test
if: ${{ !cancelled() }} && steps.filter.outputs.changed == 'true'
run: ./run-integration.sh tests/ws-d-r.json
working-directory: ./integration
- name: Benchmark test
if: ${{ !cancelled() }} && steps.filter.outputs.changed == 'true'
run: ./run-integration.sh tests/benchmark-test.json
working-directory: ./integration
test-benchmark-cesium:
runs-on: "Ubuntu"
timeout-minutes: 1440
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Diff Changes
uses: dorny/paths-filter@v3
id: filter
with:
filters: |
changed:
- "cesium/**"
- ".github/workflows/test.integration.yaml"
- name: Poetry install
if: steps.filter.outputs.changed == 'true'
run: poetry install
working-directory: ./cesium/internal/benchmark
- name: Benchmark
if: steps.filter.outputs.changed == 'true'
run: poetry run python benchmarker.py
working-directory: ./cesium/internal/benchmark