Skip to content

Commit

Permalink
Debugging a deserialization issue with parameters. . .
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcummings committed Dec 11, 2023
1 parent 25b4812 commit f96e583
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 164 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,14 @@ jobs:
run: |
go test -timeout 60m -v -cover ./cloudtruth
- name: TF acceptance tests (prod backend)
timeout-minutes: 60
env:
TF_ACC: "1" # Enables provider acceptance test mode
TF_VAR_cloudtruth_api_key: ${{ secrets.ACCEPTANCE_TEST_TOKEN }}
CLOUDTRUTH_API_KEY: ${{ secrets.ACCEPTANCE_TEST_TOKEN }} # for tests without provider defs
CLOUDTRUTH_PROJECT: AcceptanceTest
CLOUDTRUTH_ENVIRONMENT: default
run: |
go test -timeout 60m -v -cover ./cloudtruth
# DISABLED FOR NOW, RE-ENABLE WHEN DB CLEANUP IS DONE
# - name: TF acceptance tests (prod backend)
# timeout-minutes: 60
# env:
# TF_ACC: "1" # Enables provider acceptance test mode
# TF_VAR_cloudtruth_api_key: ${{ secrets.ACCEPTANCE_TEST_TOKEN }}
# CLOUDTRUTH_API_KEY: ${{ secrets.ACCEPTANCE_TEST_TOKEN }} # for tests without provider defs
# CLOUDTRUTH_PROJECT: AcceptanceTest
# CLOUDTRUTH_ENVIRONMENT: default
# run: |
# go test -timeout 60m -v -cover ./cloudtruth
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pkg/cloudtruth/client.go: pkg/openapi.yml
# These files are unecessary and break local imports
rm pkg/cloudtruthapi/go.mod pkg/cloudtruthapi/go.sum
# These files are unecessary
rm -rf pkg/cloudtruthapi/test pkg/cloudtruthapi/docs pkg/cloudtruthapi/api pkg/cloudtruthapi/.openapi-generator
rm -rf pkg/cloudtruthapi/test pkg/cloudtruthapi/api pkg/cloudtruthapi/.openapi-generator pkg/cloudtruthapi/docs
rm pkg/cloudtruthapi/.travis.yml pkg/cloudtruthapi/git_push.sh pkg/cloudtruthapi/README.md

pkg/openapi.yml: pkg
Expand Down
Loading

0 comments on commit f96e583

Please sign in to comment.