Skip to content

Commit e18a170

Browse files
committed
Only run test on SauceLabs when SAUCE_ACCESS_KEY is set
Allows forks to run tests on GitHub Actions without having to have access to the SauceLabs secret. Ref. #1072 (comment)
1 parent cadc7bb commit e18a170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: karma.conf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const config = {
2929

3030
/* eslint camelcase: "off", */
3131

32-
if (process.env.CI) {
32+
if (process.env.SAUCE_ACCESS_KEY) {
3333
config.customLaunchers = {
3434
sl_chrome_latest: {
3535
base: "SauceLabs",

0 commit comments

Comments
 (0)