Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Terraform
Commits
b1e4c00d
Commit
b1e4c00d
authored
3 years ago
by
Sebastian Rivera
Browse files
Options
Download
Email Patches
Plain Diff
Add Cloud E2E tests to Checks GH action
parent
8eaf7fe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/checks.yml
+32
-0
.github/workflows/checks.yml
with
32 additions
and
0 deletions
+32
-0
.github/workflows/checks.yml
+
32
-
0
View file @
b1e4c00d
...
...
@@ -100,6 +100,38 @@ jobs:
run
:
|
TF_ACC=1 go test -v ./internal/command/e2etest
cloud-e2e-tests
:
name
:
"
Cloud
End-to-end
Tests"
runs-on
:
ubuntu-latest
steps
:
-
name
:
"
Fetch
source
code"
uses
:
actions/checkout@v2
-
name
:
Determine Go version
id
:
go
uses
:
./.github/actions/go-version
-
name
:
Install Go toolchain
uses
:
actions/setup-go@v2
with
:
go-version
:
${{ steps.go.outputs.version }}
# NOTE: This cache is shared so the following step must always be
# identical across the unit-tests, e2e-tests, and consistency-checks
# jobs, or else weird things could happen.
-
name
:
Cache Go modules
uses
:
actions/cache@v3
with
:
path
:
"
~/go/pkg"
key
:
go-mod-${{ hashFiles('go.sum') }}
restore-keys
:
|
go-mod-
-
name
:
"
Cloud
e2e
tests"
run
:
|
TFE_HOSTNAME=${{ secrets.TFE_HOSTNAME }} TFE_TOKEN=${{ secrets.TFE_TOKEN }} TF_ACC=1 go test -v ./internal/cloud/e2e
consistency-checks
:
name
:
"
Code
Consistency
Checks"
runs-on
:
ubuntu-latest
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment