Skip to content

Commit 33a61e5

Browse files
Merge pull request actions#13 from actions/twojobs
split into two jobs for better testing
2 parents 86347f3 + 07caa9d commit 33a61e5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "test-local"
1+
name: "units-test"
22
on:
33
pull_request:
44
push:
@@ -7,13 +7,19 @@ on:
77
- 'releases/*'
88

99
jobs:
10-
test:
10+
# unit tests
11+
units:
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v1
14-
1515
- run: npm ci
1616
- run: npm test
17+
18+
# test action works running from the graph
19+
test:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v1
1723
- uses: ./
1824
with:
1925
milliseconds: 1000

0 commit comments

Comments
 (0)