Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update correctness test selector #64

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cd/manager/jobmanager/jobManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
tests_Repo = "ceramic-tests"
tests_Ref = "main"
tests_Workflow = "run-durable.yml"
tests_Selector = "fast"
tests_Selector = "correctness/fast"
)

const defaultCasMaxAnchorWorkers = 1
Expand Down
8 changes: 0 additions & 8 deletions cd/manager/notifs/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ const (
workflowNotifField_Branch = "Branch"
workflowNotifField_TestSelector = "Test Selector"
)
const (
workflowTestSelector_Wildcard = "."
workflowTestSelector_All = "all"
)

type workflowNotif struct {
state job.JobState
Expand Down Expand Up @@ -67,10 +63,6 @@ func (w workflowNotif) getFields() []discord.EmbedField {
}
// If this is a test workflow, also report the test selector.
if testSelector, found := w.workflow.Inputs[job.WorkflowJobParam_TestSelector].(string); found {
// Convert wildcard selector to "all" selector
if testSelector == workflowTestSelector_Wildcard {
testSelector = workflowTestSelector_All
}
notifFields = append(
notifFields,
discord.EmbedField{
Expand Down
Loading