Skip to content

Commit

Permalink
test for runner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
learndatastorage committed Oct 24, 2022
1 parent cdc36e6 commit a80df9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ export const runAll = async (tests: Array<Test>, cwd: string): Promise<void> =>
if (hasPoints) {
const text = `Points ${points}/${availablePoints}`
log(color.bold.bgCyan.black(text))
const nwo = process.env['GITHUB_REPOSITORY'] || '/'
const [owner, repo] = nwo.split('/')
log(owner)
core.setOutput('Points', `${points}/${availablePoints}`)
await setCheckRunOutput(text)
}
Expand Down

0 comments on commit a80df9a

Please sign in to comment.