From 07caa9db183032d58290fddf03841b3eb9bc7134 Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Sat, 7 Dec 2019 10:46:15 -0800 Subject: [PATCH] split into two jobs for better testing --- .github/workflows/test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b32ed98..af0b35e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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