TestRefFlagSignature tests that the ref flag is supported
(t *testing.T)
| 147 | |
| 148 | // TestRefFlagSignature tests that the ref flag is supported |
| 149 | func TestRefFlagSignature(t *testing.T) { |
| 150 | // Test that RunWorkflowOnGitHub accepts refOverride parameter |
| 151 | // This is a compile-time check that ensures the refOverride parameter exists |
| 152 | _ = RunWorkflowOnGitHub(context.Background(), "test", RunOptions{RefOverride: "main"}) |
| 153 | |
| 154 | // Test that RunWorkflowsOnGitHub accepts refOverride parameter |
| 155 | _ = RunWorkflowsOnGitHub(context.Background(), []string{"test"}, RunOptions{RefOverride: "main"}) |
| 156 | } |
| 157 | |
| 158 | // TestRunWorkflowOnGitHubWithRef tests that the ref parameter is handled correctly |
| 159 | func TestRunWorkflowOnGitHubWithRef(t *testing.T) { |
nothing calls this directly
no test coverage detected