Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Oct 30, 2023
1 parent 9389bcc commit 38ba4de
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,28 +86,27 @@ jobs:
cd ~/frappe-bench
sed -i 's/^watch:/# watch:/g' Procfile
sed -i 's/^schedule:/# schedule:/g' Procfile
bench start &> ~/frappe-bench/bench_start.log &
- name: Install
working-directory: /home/runner/frappe-bench
run: |
bench get-app builder $GITHUB_WORKSPACE
bench setup requirements --dev
bench get-app builder $GITHUB_WORKSPACE --branch current_branch
bench new-site --db-root-password root --admin-password admin builder.test
bench --site builder.test install-app builder
bench build
env:
CI: 'Yes'

- name: Show bench output
run: cat ~/frappe-bench/bench_start.log || true
- name: Start bench
run: |
cat ~/frappe-bench/bench_start.log || true
bench start &> ~/frappe-bench/bench_start.log &
- name: Site Setup
run: |
cd ~/frappe-bench/
bench --site builder.test execute frappe.utils.install.complete_setup_wizard
bench --site builder.test execute frappe.tests.ui_test_helpers.create_test_user
bench --site builder.test migrate
- name: UI Tests
run: cd ~/frappe-bench/apps/builder/frontend && yarn test

Expand Down

0 comments on commit 38ba4de

Please sign in to comment.