-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 922 Bytes
/
test.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
name: Run Integration test
on:
push:
pull_request:
jobs:
integration-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gitlab_version:
- 16.5.2-ce.0
- 16.4.2-ce.0
- 16.3.6-ce.0
steps:
- uses: actions/checkout@v4
- run: GITLAB_CE_VERSION=${{ matrix.gitlab_version }} docker compose up -d
working-directory: test
- run: test/await_healthy.sh
- uses: ./
name: Run test
with:
GL_SERVER_URL: http://172.17.0.1:8080
GL_PROJECT_ID: '1000'
GL_RUNNER_TOKEN: some_long_runner_token
GL_API_TOKEN: TEST1234567890123456
- run: 'curl --silent --header "Private-Token: TEST1234567890123456" "http://127.17.0.1:8080/api/v4/projects/1000/jobs/1/trace"'
if: always()
- run: docker compose down
if: always()
working-directory: test