Skip to content

Commit

Permalink
Add trigger to run on every push to e2e branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Sep 14, 2023
1 parent 717cd49 commit 2709830
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cypress_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run cypress happy path test

on:
workflow_dispatch:
# pull_request:
# branches:
# - integration
pull_request:
branches:
- e2e_test_mika

jobs:
build:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: latest
version: latest
- name: Run Webapp
working-directory: packages/webapp
run: |
Expand All @@ -68,7 +68,7 @@ jobs:
VITE_DO_BUCKET_NAME: litefarm
NODE_ENV: development
VITE_API_URL: http://localhost:5000

- name: Run E2E test
continue-on-error: true
env:
Expand All @@ -88,13 +88,13 @@ jobs:
record: true
parallel: true
group: "UI - Chrome"

- name: Archive backend logs
uses: actions/upload-artifact@v3
with:
name: logs
path: packages/api/logs

- name: set code coverage badge
run: npx -p check-code-coverage update-badge --from '${GITHUB_WORKSPACE}/packages/webapp/coverage/coverage-summary.json'
env:
Expand Down

0 comments on commit 2709830

Please sign in to comment.