-
Notifications
You must be signed in to change notification settings - Fork 82
43 lines (34 loc) · 1.07 KB
/
integration_tests.yml
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
name: Integration Tests
on:
pull_request:
jobs:
integration_tests:
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build Packages
uses: ./.github/actions/build-packages
- name: Initialize Host
uses: ./.github/actions/host-init
- name: Build Template
uses: ./.github/actions/build-sandbox-template
- name: Start Services
env:
GOOGLE_SERVICE_ACCOUNT_BASE64: ${{ secrets.TESTS_GOOGLE_SERVICE_ACCOUNT_BASE64 }}
uses: ./.github/actions/start-services
- name: Run Integration Tests
env:
TESTS_API_SERVER_URL: "http://localhost:3000"
TESTS_ORCHESTRATOR_HOST: "localhost:5008"
run: |
# Monitor logs of the services
ls -l ~/logs
tail -f ~/logs/orchestrator.log -n 0 &
tail -f ~/logs/api.log -n 0 &
tail -f ~/logs/template-manager.log -n 0 &
# Run the integration tests
make test-integration