Skip to content

Commit

Permalink
Merge pull request #1311 from hashicorp/provider-generation-jsii-test
Browse files Browse the repository at this point in the history
test(provider-generator): verify generated provider emit same HCL across languages
  • Loading branch information
DanielMSchmidt authored Dec 9, 2021
2 parents e70d6fa + b238603 commit 73a8394
Show file tree
Hide file tree
Showing 36 changed files with 4,753 additions and 809 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
with:
name: dist
path: dist
- name: Upload edge-provider bindings
uses: actions/upload-artifact@v2
with:
name: edge-provider-bindings
path: packages/@cdktf/provider-generator/edge-provider-bindings
- name: installing test dependencies
run: |
cd test && yarn install
Expand All @@ -65,6 +70,11 @@ jobs:
with:
name: dist
path: dist
- name: Download edge-provider bindings
uses: actions/download-artifact@v2
with:
name: edge-provider-bindings
path: test/edge-provider-bindings
- name: install test dependencies
run: cd test && yarn
- name: integration tests
Expand Down Expand Up @@ -103,6 +113,11 @@ jobs:
with:
name: dist
path: dist
- name: Download edge-provider bindings
uses: actions/download-artifact@v2
with:
name: edge-provider-bindings
path: test/edge-provider-bindings
- name: install test dependencies
run: cd test && yarn
- name: integration tests
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ packages/*/coverage
packages/**/.yalc
packages/**/dist
dist
packages/@cdktf/provider-generator/edge-provider-bindings
test/edge-provider-bindings
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"examples/java/*",
"examples/csharp/*",
"examples/go/*",
"test"
"test/*"
],
"npmClient": "yarn",
"useWorkspaces": true,
Expand Down
3 changes: 2 additions & 1 deletion packages/@cdktf/provider-generator/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/*.d.ts.map
**/*.js.map
tsconfig.tsbuildinfo
!tsconfig.json
!tsconfig.json
edge-provider-bindings
Loading

0 comments on commit 73a8394

Please sign in to comment.