Skip to content

Commit be51738

Browse files
committed
Add build tasks
1 parent 5512648 commit be51738

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#/
1818

1919
# Workflow name:
20-
name: test
20+
name: CI
2121

2222
# Workflow triggers:
2323
on:
@@ -47,11 +47,11 @@ on:
4747
# Workflow jobs:
4848
jobs:
4949

50-
# Define a workflow for running unit tests...
51-
unit_tests:
50+
# Define a workflow for running continuous integration (CI) build tasks on Linux and MacOS...
51+
ci_linux_macos:
5252

5353
# Define a display name:
54-
name: "unit tests: NODE_VERSION=${{ matrix.NODE_VERSION }}, OS=${{ matrix.OS }}"
54+
name: "${{ matrix.BUILD_TASK }}: NODE_VERSION=${{ matrix.NODE_VERSION }}, OS=${{ matrix.OS }}"
5555

5656
# Define the type of virtual host machine on which to run the job:
5757
runs-on: ${{ matrix.OS }}
@@ -63,7 +63,10 @@ jobs:
6363
NODE_VERSION: ['12', '10', '8', '6', '4', '0.12', '0.10']
6464

6565
# Define the list of operating systems on which to run this job:
66-
OS: [ubuntu-latest, macOS-latest]
66+
OS: ['ubuntu-latest', 'macOS-latest']
67+
68+
# Define the list of build tasks:
69+
BUILD_TASK: ['test-npm-install', 'test', 'benchmark', 'examples', 'test-coverage']
6770

6871
# Define configuration options for each Node.js version:
6972
include:

0 commit comments

Comments
 (0)