Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit 0f9d4c8

Browse files
authored
Add GitHub Actions to run tests (#130)
There are two separate actions - one for the mandatory tests, and one for the extra tests which is only run if any extra tests were modified.
1 parent be77305 commit 0f9d4c8

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/extra-tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Run extra tests
2+
on:
3+
pull_request:
4+
paths:
5+
- extra/**
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Install modules
12+
run: npm install
13+
- name: Run extra tests
14+
run: npm run extra-tests
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Run mandatory tests
2+
on: pull_request
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Install modules
9+
run: npm install
10+
- name: Run mandatory tests
11+
run: npm test

0 commit comments

Comments
 (0)