[pull] master from gabrie30:master #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run GitLab EE Integration Tests | |
on: [pull_request] | |
jobs: | |
gitlab_ee_integration_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "^1.20" | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install Go dependencies and build the project | |
run: | | |
go mod download | |
go install . | |
- name: Add Go binaries to PATH | |
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
- name: Set up Docker | |
uses: docker-practice/actions-setup-docker@master | |
- name: Add hosts to /etc/hosts | |
run: | | |
sudo echo "127.0.0.1 gitlab.example.com" | sudo tee -a /etc/hosts | |
- name: Run GitLab Integration Test | |
run: | | |
echo "Using ghorg version: $(ghorg version)" | |
export GHORG_GHA_CI=true | |
./scripts/local-gitlab/start-ee.sh |