fix: ci-workflow-contract test expectations updated to runs-on: []
Gitea Runner Clean Test / test-job (push) Canceled after 0s
Gitea Actions Runner Test / test-job (push) Canceled after 0s
CI / check (push) Canceled after 0s
CI / tests-unit (push) Canceled after 0s
CI / tests-integration (push) Canceled after 0s
CI / tests-ui (push) Canceled after 0s
CI / preflight (push) Canceled after 0s
CI / deploy (push) Canceled after 0s
Gitea Runner Clean Test / test-job (push) Canceled after 0s
Gitea Actions Runner Test / test-job (push) Canceled after 0s
CI / check (push) Canceled after 0s
CI / tests-unit (push) Canceled after 0s
CI / tests-integration (push) Canceled after 0s
CI / tests-ui (push) Canceled after 0s
CI / preflight (push) Canceled after 0s
CI / deploy (push) Canceled after 0s
This commit is contained in:
1 parent
54b9186e52
commit
3776475db4
1 file changed
+4
-4
@@ -29,17 +29,17 @@ describe("CI workflow", () => {
|
|||||||
expect(workflow).toContain("pnpm test:coverage");
|
expect(workflow).toContain("pnpm test:coverage");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("check job runs on self-hosted runner", () => {
|
it("check job runs on host runner", () => {
|
||||||
const checkJob = workflow.slice(
|
const checkJob = workflow.slice(
|
||||||
workflow.indexOf("check:"),
|
workflow.indexOf("check:"),
|
||||||
workflow.indexOf("\n deploy:"),
|
workflow.indexOf("\n deploy:"),
|
||||||
);
|
);
|
||||||
expect(checkJob).toContain("runs-on: self-hosted");
|
expect(checkJob).toContain("runs-on: []");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("deploy job runs on self-hosted runner", () => {
|
it("deploy job runs on host runner", () => {
|
||||||
const deployJob = workflow.slice(workflow.indexOf("\n deploy:"));
|
const deployJob = workflow.slice(workflow.indexOf("\n deploy:"));
|
||||||
expect(deployJob).toContain("runs-on: self-hosted");
|
expect(deployJob).toContain("runs-on: []");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("check includes toolchain check", () => {
|
it("check includes toolchain check", () => {
|
||||||
|
|||||||
Reference in new issue
Block a user