Skip to content

Commit

Permalink
Quick test
Browse files Browse the repository at this point in the history
  • Loading branch information
mramato committed Oct 25, 2023
1 parent bc979f7 commit d5d06f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: release build
run: npm run build-release
- name: release tests (chrome)
run: npm run test -- --browsers ChromeCI --failTaskOnError --webgl-stub --release --suppressPassed
run: npm run test -- --browsers ChromeHeadless --failTaskOnError --webgl-stub --release --suppressPassed
- name: cloc
run: npm run cloc
deploy:
Expand Down
8 changes: 2 additions & 6 deletions Specs/karma.conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,15 @@ module.exports = function (config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher

//In Travis, we need to run with the no-sandbox flag
//During CI, we need to run with the no-sandbox flag
customLaunchers: {
ChromeCI: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
ChromeDebugging: {
base: "Chrome",
flags: ["--remote-debugging-port=9333"],
},
},

// Ridiculous large values because travis is slow.
// Ridiculous large values because CI can be slow.
captureTimeout: 120000,
browserDisconnectTolerance: 3,
browserDisconnectTimeout: 120000,
Expand Down

0 comments on commit d5d06f4

Please sign in to comment.