We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b1e9b3 commit 0dde0faCopy full SHA for 0dde0fa
karma.conf.js
@@ -41,7 +41,8 @@ module.exports = function(config) {
41
// TO RUN LOCALLY:
42
// Execute `CI=1 make test-browser`, once you've set the SAUCE_USERNAME and
43
// SAUCE_ACCESS_KEY env vars.
44
- if (process.env.CI) {
+ // also, we can't run SauceLabs tests on PRs from forks.
45
+ if (process.env.CI && !process.env.TRAVIS_PULL_REQUEST) {
46
if (!(process.env.SAUCE_USERNAME || process.env.SAUCE_ACCESS_KEY)) {
47
throw new Error('Must set SAUCE_USERNAME and SAUCE_ACCESS_KEY '
48
+ 'environment variables!');
0 commit comments