Comments (5)
Could you share your workflow?
from github-action.
@MikeMcC399 sure thanks for the speedy reply!
name: "[Studio] E2E test"
on:
pull_request:
branches:
- main
- develop
paths:
- app/**
- backend/**
types:
- opened
- reopened
- ready_for_review
workflow_dispatch: {}
jobs:
test-app-e2e:
name: Run e2e tests
if: ${{ github.event.pull_request.draft == false && (contains(github.head_ref, 'release/') && github.base_ref == 'develop') == false}}
runs-on: ubuntu-latest-m
strategy:
fail-fast: false
matrix:
containers:
[1, 2, 3, 4]
env:
GCP_PROJECT: ******
GCP_REGION: europe-west1
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS_DEV }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install node v20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup Google Cloud Auth
id: auth
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ env.GCP_CREDENTIALS }}
- name: Setup Google Cloud
uses: google-github-actions/setup-gcloud@v2
- name: Install & start supabase
working-directory: backend
run: |
wget https://github.com/supabase/cli/releases/download/v1.136.3/supabase_1.136.3_linux_amd64.deb
sudo dpkg -i supabase_1.136.3_linux_amd64.deb
supabase start -x imgproxy,edge-runtime,studio,storage-api
- name: Install frontend deps
working-directory: app
run: npm ci
- name: Install backend deps, build, seed & run
working-directory: backend
run: |
npm ci
npm run build
npm run prisma:seed
npm start &
env:
.... removed
- name: Run e2e tests
uses: cypress-io/github-action@v6
with:
config-file: cypress.ci.ts
config: '{"e2e": { "excludeSpecPattern": [ "cypress/e2e/xandr/**/*.e2e.ts", "cypress/e2e/**/google.e2e.ts","cypress/e2e/smoke/**/*.e2e.ts"] }}'
browser: chrome
# we have already installed all dependencies above
install: false
start: npm run dev
working-directory: app
record: true
parallel: true
group: "FullE2E"
wait-on: http://localhost:3000,http://localhost:8000/app-backend/api/health
wait-on-timeout: 120
env:
HOSTNAME: localhost
PORT: 3000
HTTPS: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
COMMIT_INFO_SHA: ${{ github.event.pull_request.head.sha }}
ENV_NAME: testing
.... removed
from github-action.
I don't see anything wrong in your workflow.
Check #879 (comment) to see if the suggestions for starting Vite help you. I'm not sure from your problem description if this will be the solution, but I suggest that you check it out first.
from github-action.
Hello @ydennisy
Did you make any progress?
from github-action.
Closing due to inactivity.
from github-action.
Related Issues (20)
- Test issue HOT 1
- Possibility to split summary results on spec level
- Commit message missing from Cypress Cloud when cypress/included container is used in GitHub Actions HOT 7
- Action stuck at Warning: vkCreateInstance: Found no drivers! HOT 15
- Specify specs and readonly configuration (chromeWebSecurity) per matrix container HOT 4
- Cypress binary randomly missing with pnpm HOT 13
- pnpm workspaces workflow shows "no status" HOT 2
- Add workspace support for pnpm HOT 10
- Save Test Results to File or Action Output HOT 5
- Add thread_ts as an optional parameter to use threads as part of the cypress cloud slack integration HOT 4
- Cypress run starts but does not run any tests HOT 9
- Cypress.env returns undefined [Github Actions] HOT 11
- Cypress fails to connect to devTools after first test HOT 13
- `project` not working HOT 5
- adding user 1001 throws EACCES permission issue HOT 17
- Sporadic cypress binary cache failure of example-basic-pnpm workflow on Ubuntu HOT 5
- Cancel test run on Cypress cloud when action is cancelled HOT 1
- Cypress in Github Actions won't feed env variables to Oxygen server HOT 4
- Unable to run the cypress-io action when specifying a repo on the checkout HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.