Skip to content

Commit

Permalink
update github action installation
Browse files Browse the repository at this point in the history
  • Loading branch information
MFA-X-AI committed Jul 26, 2023
1 parent 7260a04 commit 3495524
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/run-ui-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Combined UI E2E Test and Playwright Tests
name: Frontend Playwright Tests

on:
push:
Expand Down Expand Up @@ -48,16 +48,11 @@ jobs:
run: |
pip install -e .
- name: Build Wheel
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build &&
python -m build
- name: Install Xircuits
run: |
whl_name=$(echo dist/*whl)[tensorflow_keras]
pip install $whl_name
xircuits-submodules tensorflow_keras
xircuits-submodules test
- uses: actions/setup-node@v3
with:
Expand All @@ -72,10 +67,7 @@ jobs:
- name: Test E2E
run: |
( ls && jupyter lab --ServerApp.token= --ServerApp.password= --LabApp.default_url=/lab\?reset ) & npm install -D @playwright/test && npx playwright test
- name: Run Playwright tests
run: npx playwright test
( ls && jupyter lab --ServerApp.token= --ServerApp.password= --LabApp.default_url=/lab\?reset ) & npm install -D @playwright/test && cd ui-tests && npx playwright test e2e/
- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit 3495524

Please sign in to comment.