-
Notifications
You must be signed in to change notification settings - Fork 89
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
Playwright CI #206
Playwright CI #206
Conversation
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.
This is very nice! Super cool to see these getting set up. Thank you Eric!
- name: Turn up local server | ||
run: | | ||
cd src/server | ||
scripts/setup_local_dev.sh |
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.
One thing I probably forgot to mention: we also want to use the latest UI code to start the server with. To do that,
- cd into
src/ui
- run:
npm install -g @angular/cli
andnpm install
- run
./scripts/build_and_update_python_package.sh
. This will build the angular app and copy the files to the proper server directory.
Then you can run model-explorer...
to start the server with the latest UI.
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.
Yes definitely! Can we set up the UI test in a separate PR since it also involves some npm installation and js related debugging?
paths: | ||
- 'src/server/**' | ||
- '.github/workflow/**' | ||
- 'ci/**' |
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.
Also add the path to ui code since we are using the latest ui code to start the server with (see comment above)
pull_request: | ||
# Triggered by default activities (synchronize, opened, reopened) + labeled. | ||
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request | ||
types: [labeled, synchronize, opened, reopened] | ||
branches: ["main"] | ||
paths: | ||
- 'src/server/**' |
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.
Add the path to ui code here too
No description provided.