Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemassa committed Aug 12, 2024
1 parent 363bcaa commit 5c8b462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions e2e/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ type Project struct {
func getVCSClient() (VCSClient, error) {

if os.Getenv("ATLANTISBOT_GITHUB_USERNAME") != "" {
log.Print("Running tests for github")
return NewGithubClient(), nil
}
if os.Getenv("ATLANTISBOT_GITLAB_USERNAME") != "" {
log.Print("Running tests for gitlab")
return NewGitlabClient(), nil
}

Expand Down
1 change: 0 additions & 1 deletion scripts/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ cd "${GITHUB_WORKSPACE:-$(git rev-parse --show-toplevel)}/e2e"
echo "Running 'make build'"
make build

exit 0
echo "Running e2e test: 'make run'"
set +e
make run
Expand Down

0 comments on commit 5c8b462

Please sign in to comment.