Skip to content

Commit

Permalink
wip run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Nov 24, 2023
1 parent 9a0cd73 commit 0fd945b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check
on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use Python 3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'

- name: Use Node.js 8.x
uses: actions/setup-node@v4
with:
node-version: 8.x

- run: npm ci
- run: npm run grunt -- test:node
- run: npm run grunt -- test:browser:local
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ module.exports = function (grunt) {
},
local: {
reporters: ['progress', 'mocha'],
browsers: ['Firefox'],
browsers: ['FirefoxHeadless'],
},
remote: {
browserStack: {
Expand Down

0 comments on commit 0fd945b

Please sign in to comment.