Skip to content

Commit

Permalink
Merge pull request #13 from clouddrove/0.15
Browse files Browse the repository at this point in the history
fix terratest
  • Loading branch information
Om Sharma committed Jul 6, 2021
2 parents 95bef58 + 6150671 commit 058e2a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
uses: actions/checkout@v2.3.4

- name: Set up Python 3.7.
- name: 'Set up Python 3.7'
uses: actions/setup-python@v2
with:
python-version: '3.x'
Expand All @@ -26,11 +26,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}


- name: pre-commit check errors
- name: 'pre-commit check errors'
uses: pre-commit/action@v2.0.0
continue-on-error: true

- name: pre-commit fix erros
- name: 'pre-commit fix errors'
uses: pre-commit/action@v2.0.0
continue-on-error: true

Expand Down
8 changes: 0 additions & 8 deletions _test/go.mod

This file was deleted.

4 changes: 1 addition & 3 deletions _test/vpn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ func Test(t *testing.T) {
defer terraform.Destroy(t, terraformOptions)

// To get the value of an output variable, run 'terraform output'
Id := terraform.Output(t, terraformOptions, "id")
Tags := terraform.OutputMap(t, terraformOptions, "tags")

// Check that we get back the outputs that we expect
assert.Equal(t, "test-clouddrove-vpn", Tags["Name"])
assert.Contains(t, Id, "vgw")
assert.Equal(t, "test-vpn", Tags["Name"])

}

0 comments on commit 058e2a9

Please sign in to comment.