Skip to content
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

Build from latest UI source code in CI #210

Merged
merged 4 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,22 @@ jobs:
with:
python-version: '3.11'

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 'latest'

- name: Build from latest UI source code
run: |
cd src/ui
npm install -g @angular/cli
npm install
./scripts/build_and_update_python_package.sh

- name: Turn up local server
run: |
cd src/server
scripts/setup_local_dev.sh
./scripts/setup_local_dev.sh
nohup model-explorer --host=127.0.0.1 --port=8080 &

- name: Install dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Helpful YAML parser to clarify YAML syntax:
# https://yaml-online-parser.appspot.com/

name: Run Server Code CI
name: Run CI

on:
push:
branches: ["main"]
paths:
- 'src/server/**'
- '.github/workflow/**'
- 'src/ui/**'
- '.github/workflows/**'
- 'ci/**'
pull_request:
branches: ["main"]
paths:
- 'src/server/**'
- '.github/workflow/**'
- 'src/ui/**'
- '.github/workflows/**'
- 'ci/**'

concurrency:
Expand Down