Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Chore: use GitHub Actions * fix syntax error * fix syntax error * fix fuzz test * change triggers * remove badge * add badge * re-add Azure Pipelines files and badge
- Loading branch information
1 parent
e88f305
commit 94e39d9
Showing
3 changed files
with
84 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
verify_files: | ||
name: Verify Files | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
- name: Install Packages | ||
run: npm install | ||
- name: Lint Files | ||
run: node Makefile lint | ||
- name: Check Rule Files | ||
run: node Makefile checkRuleFiles | ||
- name: Check Licenses | ||
run: node Makefile checkLicenses | ||
|
||
test_on_node: | ||
name: Test | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
node: [8.x, 10.x, 12.x] | ||
exclude: | ||
- os: windows-latest | ||
node: 8.x | ||
- os: windows-latest | ||
node: 10.x | ||
- os: macOS-latest | ||
node: 8.x | ||
- os: macOS-latest | ||
node: 10.x | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
version: ${{ matrix.node }} | ||
- name: Install Packages | ||
run: npm install | ||
- name: Test | ||
run: node Makefile mocha | ||
- name: Fuzz Test | ||
run: node Makefile fuzz | ||
|
||
test_on_browser: | ||
name: Browser Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
- name: Install Packages | ||
run: npm install | ||
- name: Test | ||
run: node Makefile karma | ||
- name: Fuzz Test | ||
run: node Makefile fuzz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters