Skip to content

Commit

Permalink
Add flag to skip tests for non-unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
SBGoods committed Nov 8, 2023
1 parent c7707c1 commit 5085dd7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Successful run of tfplugindocs on a Framework provider with "generic" template paths (i.e. templates/resources.md.tmpl)
# Templates test all implemented data fields and functions.
[!unix] skip
env GOCACHE=$WORK/gocache
env GOMODCACHE=$WORK/gomodcache
exec tfplugindocs --provider-name=terraform-provider-scaffolding
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Successful run of tfplugindocs on a Framework provider with "named" template paths (i.e. templates/resources/<resource name>.md.tmpl)
# Templates test all implemented data fields and functions.
[!unix] skip
env GOCACHE=$WORK/gocache
env GOMODCACHE=$WORK/gomodcache
exec tfplugindocs --provider-name=terraform-provider-scaffolding
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Successful run of tfplugindocs on a Framework provider with examples but no templates or pre-exiting docs.
[!unix] skip
env GOCACHE=$WORK/gocache
env GOMODCACHE=$WORK/gomodcache
exec tfplugindocs --provider-name=terraform-provider-scaffolding
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Successful run of tfplugindocs on a stripped-down version of the Null provider with pre-exiting templates, examples,
# docs, and non-tfplugindocs managed docs (docs/cdktf subdirectory).
[!unix] skip
env GOCACHE=$WORK/gocache
env GOMODCACHE=$WORK/gomodcache
exec tfplugindocs --provider-name=terraform-provider-null
Expand Down

0 comments on commit 5085dd7

Please sign in to comment.