From bebb2f2bfe608ebb2fbd04aba43168b9507efd11 Mon Sep 17 00:00:00 2001 From: Mathieu Cantin <41298167+mathcantin@users.noreply.github.com> Date: Thu, 4 Mar 2021 18:15:09 -0500 Subject: [PATCH] Suggest to run integration tests in Docker (#1438) --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 767afeb29..2747177a9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,6 +71,11 @@ docker-compose up --detach --build docker run --rm -v $(pwd):/go/src/github.com/runatlantis/atlantis -w /go/src/github.com/runatlantis/atlantis runatlantis/testing-env make test ``` +Or to run the integration tests +``` +docker run --rm -v $(pwd):/go/src/github.com/runatlantis/atlantis -w /go/src/github.com/runatlantis/atlantis runatlantis/testing-env make test-all +``` + ## Calling Your Local Atlantis From GitHub - Create a test terraform repository in your GitHub. - Create a personal access token for Atlantis. See [Create a GitHub token](https://github.com/runatlantis/atlantis/tree/master/runatlantis.io/docs/access-credentials.md#generating-an-access-token).