Skip to content

Commit

Permalink
adjusting actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Dec 7, 2023
1 parent e0356ad commit 3fb5fe9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/mocha_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Runs mocha tests on 5 browser modes (chrome, firefox, webkit/safari, iPhone, Pixel)
# Runs mocha tests
# Tests are built to run on 5 browser modes (chrome, firefox, webkit/safari, iPhone, Pixel)

# TODO: Set user/pass secret to send to mocha tests

Expand All @@ -11,8 +12,15 @@ defaults:
on:
push:
branches: [ main, ui-v2 ]
paths:
- '**/*.js'
- '**/*.html'
pull_request:
branches: [ main ]
paths:
- '**/*.js'
- '**/*.html'

jobs:
test:
timeout-minutes: 60
Expand All @@ -27,4 +35,5 @@ jobs:
- name: Install Playwright browsers
run: npx playwright install && npx playwright install-deps
- name: Run Mocha tests
run: npm test # alias to "mocha test"
run: npm test # alias to "mocha test"
continue-on-error: true
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@types/node": "^20.10.3"
},
"scripts": {
"test": "mocha --no-colors"
"test": "mocha"
},
"type": "module",
"dependencies": {
Expand Down

0 comments on commit 3fb5fe9

Please sign in to comment.