Skip to content

Commit

Permalink
chore: split e2e tests on ci
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <[email protected]>
  • Loading branch information
n0izn0iz committed May 27, 2024
1 parent 5773327 commit f7c7f5c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: E2E Tests

on:
push:
branches:
- main
pull_request:
merge_group:

jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v6
with:
browser: chrome
build: yarn build-gno
start: |
yarn start
gnodev --add-account g1vy7xjwc7xvzd2pjvhdhqgeacjcfg8pv0qqng7z
wait-on: "http://localhost:8080, http://localhost:8888"
10 changes: 0 additions & 10 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@ jobs:
- name: Lint
run: make lint.js

- name: e2e tests
uses: cypress-io/github-action@v6
with:
browser: chrome
build: yarn build-gnodev
start: |
yarn start
gnodev --add-account g1vy7xjwc7xvzd2pjvhdhqgeacjcfg8pv0qqng7z
wait-on: "http://localhost:8080, http://127.0.0.1:8888"

- name: Build web app
run: yarn expo export -p web

Expand Down

0 comments on commit f7c7f5c

Please sign in to comment.