Skip to content

Commit edbbb80

Browse files
committed
Adding the acceptance tests for Gitlab CE
1 parent 72d59c8 commit edbbb80

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Acceptance Tests
2+
on: [push,pull_request]
3+
4+
jobs:
5+
acceptance-ce:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Set up Go
9+
uses: actions/setup-go@v1
10+
with:
11+
go-version: 1.12
12+
id: go
13+
14+
- name: Check out code repository source code
15+
uses: actions/checkout@v2
16+
17+
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions
18+
- name: Set build variables
19+
run: |
20+
echo "::set-env name=MAKE_TARGET::testacc"
21+
echo "::set-env name=GO_FLAGS::-mod=vendor"
22+
echo "::set-env name=GO111MODULE::on"
23+
24+
- name: Start Gitlab and run acceptance tests
25+
run: |
26+
bash scripts/start-gitlab.sh
27+
make $MAKE_TARGET

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Website Build
22
on: [push,pull_request]
33

44
jobs:
5-
test:
5+
website:
66
runs-on: ubuntu-latest
77

88
steps:

0 commit comments

Comments
 (0)