Merge pull request #13 from actions/twojobs

split into two jobs for better testing
This commit is contained in:
Bryan MacFarlane 2019-12-07 10:49:22 -08:00 committed by GitHub
commit 33a61e5e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: "test-local"
name: "units-test"
on:
pull_request:
push:
@ -7,13 +7,19 @@ on:
- 'releases/*'
jobs:
# unit tests
units:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm test
# test action works running from the graph
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm test
- uses: ./
with:
milliseconds: 1000