mirror of https://github.com/actions/toolkit
parent
9d54cd22ea
commit
531da1858f
|
@ -1,4 +1,4 @@
|
||||||
name: Main workflow
|
name: toolkit-unit-tests
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu:
|
Ubuntu:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/actions/toolkit"><img alt="GitHub Actions status" src="https://github.com/actions/toolkit/workflows/Main%20workflow/badge.svg"></a>
|
<a href="https://github.com/actions/toolkit"><img alt="GitHub Actions status" src="https://github.com/actions/toolkit/workflows/toolkit-unit-tests/badge.svg"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## GitHub Actions Toolkit
|
## GitHub Actions Toolkit
|
||||||
|
|
|
@ -255,6 +255,8 @@ describe('@actions/exec', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Handles child process holding streams open', async function() {
|
it('Handles child process holding streams open', async function() {
|
||||||
|
// this was timing out on some slower hosted macOS runs at default 5s
|
||||||
|
jest.setTimeout(10000)
|
||||||
const semaphorePath = path.join(
|
const semaphorePath = path.join(
|
||||||
getTestTemp(),
|
getTestTemp(),
|
||||||
'child-process-semaphore.txt'
|
'child-process-semaphore.txt'
|
||||||
|
@ -301,6 +303,8 @@ describe('@actions/exec', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Handles child process holding streams open and non-zero exit code', async function() {
|
it('Handles child process holding streams open and non-zero exit code', async function() {
|
||||||
|
// this was timing out on some slower hosted macOS runs at default 5s
|
||||||
|
jest.setTimeout(10000)
|
||||||
const semaphorePath = path.join(
|
const semaphorePath = path.join(
|
||||||
getTestTemp(),
|
getTestTemp(),
|
||||||
'child-process-semaphore.txt'
|
'child-process-semaphore.txt'
|
||||||
|
|
Loading…
Reference in New Issue