Clean tests, comment

This commit is contained in:
Beth Brennan
2022-12-19 12:24:39 -05:00
parent 7559608e96
commit e9fd1022e0
3 changed files with 3 additions and 32 deletions
@@ -286,13 +286,6 @@ on:
type: boolean
jobs:
a:
outputs:
build_id: my-build-id
runs-on: ubuntu-latest
steps:
- run: echo hello a
b:
needs: [a]
runs-on: ubuntu-latest
steps:
- run: echo "hello \${{ inputs.|
@@ -308,13 +301,6 @@ on:
workflow_dispatch:
jobs:
a:
outputs:
build_id: my-build-id
runs-on: ubuntu-latest
steps:
- run: echo hello a
b:
needs: [a]
runs-on: ubuntu-latest
steps:
- run: echo "hello \${{ inputs.|
@@ -358,13 +344,6 @@ jobs:
type: boolean
jobs:
a:
outputs:
build_id: my-build-id
runs-on: ubuntu-latest
steps:
- run: echo hello a
b:
needs: [a]
runs-on: ubuntu-latest
steps:
- run: echo "hello \${{ github.event.inputs.|
@@ -410,8 +389,6 @@ jobs:
expect(result.map(x => x.label)).toContain("cron");
});
it("excludes cron scheudle when no schedule", async () => {});
});
describe("steps context", () => {
@@ -69,6 +69,7 @@ function getEventContext(workflowContext: WorkflowContext): ExpressionData {
const schedule = events["schedule"];
if (schedule && schedule.length > 0) {
const default_cron = schedule[0].cron;
// For now, default to the first cron expression only
d.add("cron", new data.StringData(default_cron));
}
@@ -826,13 +826,6 @@ on:
type: boolean
jobs:
a:
outputs:
build_id: my-build-id
runs-on: ubuntu-latest
steps:
- run: echo hello a
b:
needs: [a]
runs-on: ubuntu-latest
steps:
- run: echo "hello \${{ github.event.inputs.name }}"
@@ -847,11 +840,11 @@ jobs:
range: {
end: {
character: 56,
line: 26
line: 19
},
start: {
character: 23,
line: 26
line: 19
}
},
severity: DiagnosticSeverity.Warning