Skip to content

Commit

Permalink
Revert "remove benchmark action, will add in separate PR"
Browse files Browse the repository at this point in the history
This reverts commit e7a505b.
  • Loading branch information
Pacman99 authored and zeme-wana committed Nov 29, 2022
1 parent b3956d8 commit d4627dc
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
7 changes: 4 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Expand Up @@ -57,7 +57,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
tullia = {
url = "github:input-output-hk/tullia";
url = "github:input-output-hk/tullia/gh-comment";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Expand Down
21 changes: 18 additions & 3 deletions nix/cells/cloud/actions.nix
@@ -1,7 +1,7 @@
{ cell
, inputs
}: {
"plutus/ci" = {
/* "plutus/ci" = {
task = "ci";
io = ''
// This is a CUE expression that defines what events trigger a new run of this action.
Expand All @@ -18,9 +18,23 @@
{ #lib.io.github_pr, github, #target_default: false },
]
'';
};*/

"plutus/benchmark" = {
task = "benchmark";
io = ''
// Two inputs need to match: PR sync event & issue comment creation event
#lib.io.github_pr_comment & {
#target: "zeme-iohk/benchmarking"
#input: "${cell.library.actions.benchmark.commentInput}"
#prInput: "${cell.library.actions.benchmark.prInput}"
#repo: "input-output-hk/plutus"
#comment: "^/benchmark .+"
}
'';
};

"plutus/publish-documents" = {
/*"plutus/publish-documents" = {
task = "publish-documents";
io = ''
let push = {
Expand All @@ -40,5 +54,6 @@
}
}
'';
};
};*/

}
2 changes: 2 additions & 0 deletions nix/cells/cloud/library.nix
Expand Up @@ -3,6 +3,8 @@
}: {
actions = {
ci.input = "GitHub event";
benchmark.commentInput = "GitHub comment";
benchmark.prInput = "GitHub pr";
documents.input = "GitHub push";
};
}

0 comments on commit d4627dc

Please sign in to comment.