-
Notifications
You must be signed in to change notification settings - Fork 927
Update Auth Firefox cross browser action to only run on changed auth files #6546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this! Just add an explaining comment and should be good to go.
scripts/run_tests_in_ci.js
Outdated
@@ -21,6 +21,9 @@ const { spawn } = require('child-process-promise'); | |||
const { writeFileSync } = require('fs'); | |||
|
|||
const LOGDIR = process.env.CI ? process.env.HOME : '/tmp'; | |||
// Maps the packages that have standalone cross browser testing to the necessary test script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It happens to be that we need these for Firestore and Auth, and also that they happen to not be part of test:changed core, but that's more of a coincidence. The distinguishing feature is that these are packages where we should not run test:all
(or whatever argument is passed to the script using the -s
flag in the package's version of test:ci
) for cross-browser tests. Storage basically has the same problem but we solved it by editing karma.conf.js instead. We may actually want to change storage (in the future, in another PR) to use this same method, for consistency.
Update Auth Firefox cross browser action to only run on changed auth files. In the previous iteration, we ran the unit tests irrespective of changed auth files which is incongruent with the purpose of the github action