Skip to content

Commit

Permalink
Update noisy equivalence test (#36036)
Browse files Browse the repository at this point in the history
* update noisy equivalence test

* also run on opened PRs

* don't need to ignore fields anymore
  • Loading branch information
liamcervante authored Nov 19, 2024
1 parent d11ae2c commit 9402a85
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/actions/equivalence-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ runs:
shell: bash
run: |
gh pr create \
--draft \
--base ${{ inputs.current-branch }} \
--head ${{ inputs.new-branch }} \
--title "Update equivalence test golden files" \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/equivalence-test-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: equivalence-test-diff
on:
pull_request:
types:
- opened
- synchronize
- ready_for_review
- reopened
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/equivalence-test-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
current-branch: ${{ github.event.pull_request.base.ref }}
new-branch: equivalence-testing/${{ github.event.pull_request.head.ref }}
reviewers: ${{ github.event.pull_request.merged_by.login }}
message: "Update equivalence test golden files after ${{ github.event.pull_request.url }}."
message: "Update equivalence test golden files after ${{ github.event.pull_request.html_url }}."
13 changes: 0 additions & 13 deletions testing/equivalence-tests/tests/null_provider_basic/spec.json

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"description": "tests creating a simple resource created by the null provider",
"include_files": [],
"ignore_fields": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"version": 4,
"terraform_version": "1.10.0",
"serial": 1,
"lineage": "afca9e36-5040-2a11-9225-a64c8caa4605",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "null_resource",
"name": "null_resource",
"provider": "provider[\"registry.terraform.io/hashicorp/null\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"id": "3637779521417605172",
"triggers": null
},
"sensitive_attributes": [],
"private": "bnVsbA=="
}
]
}
],
"check_results": null
}

0 comments on commit 9402a85

Please sign in to comment.