tests/thirdparty: add skip option (#228)
Add the ability to skip third-party tests by specifying a known issue.
This commit is contained in:
committed by
GitHub
parent
6c0ed1c4e8
commit
2867bd7e01
3
tests/thirdparty/make_workflow.go
vendored
3
tests/thirdparty/make_workflow.go
vendored
@@ -93,6 +93,9 @@ func GenerateWorkflow(pkgs thirdparty.Packages) ([]byte, error) {
|
||||
g.Indent()
|
||||
|
||||
g.Linef("runs-on: ubuntu-latest")
|
||||
if pkg.Skip() {
|
||||
g.Linef("if: false # skip: %s", pkg.Reason())
|
||||
}
|
||||
g.Linef("steps:")
|
||||
g.Indent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user