-
Notifications
You must be signed in to change notification settings - Fork 948
Optimize CI tests #3664
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
Optimize CI tests #3664
Changes from 9 commits
9bc4b8f
dc0cea5
1141b15
fc83160
6ac41a2
36b52e9
2162dd8
67d0e2e
e37e7ad
eb55e6f
5211acf
e8e8070
dfc6731
d252f10
f409bab
ff64004
978acc5
f0424e0
ad8347b
ad21e58
5b8fd9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test Firestore | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
test: | ||
name: Test Firestore | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@master | ||
with: | ||
# This makes Actions fetch all Git history so run-changed script can diff properly. | ||
fetch-depth: 0 | ||
- name: Set up Node (10) | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
- name: install Chrome stable | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install google-chrome-stable | ||
- name: Test setup and yarn install | ||
run: | | ||
cp config/ci.config.json config/project.json | ||
yarn | ||
- name: yarn build | ||
run: yarn build | ||
- name: Run tests on changed packages | ||
run: xvfb-run yarn test:changed:firestore | ||
Feiyang1 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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.
"Run tests if firestore package has changed"?