Skip to content

Commit

Permalink
Changed: temporarily disabled e2e GitHub action execution
Browse files Browse the repository at this point in the history
  • Loading branch information
GPortas committed May 9, 2023
1 parent ba8c085 commit 345e5d0
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,36 @@ name: test
on: push

jobs:
e2e:
runs-on: ubuntu-latest
environment: e2e

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'

- name: Install Dependencies
run: npm install

- name: Create and populate .env file
env:
DATAVERSE_BACKEND_URL: ${{ secrets.DATAVERSE_BACKEND_URL }}
run: |
touch .env
echo VITE_DATAVERSE_BACKEND_URL="$DATAVERSE_BACKEND_URL" >> .env
shell: bash

- name: Cypress run
uses: cypress-io/github-action@v4
with:
build: npm run build
start: npm run preview
wait-on: 'npx wait-on --timeout 60000 http://localhost:5173'
# Temporarily commented out, until we set up a suitable e2e environment for running GitHub actions
# e2e:
# runs-on: ubuntu-latest
# environment: e2e

# steps:
# - uses: actions/checkout@v3

# - uses: actions/setup-node@v3
# with:
# node-version: 18
# cache: 'npm'

# - name: Install Dependencies
# run: npm install

# - name: Create and populate .env file
# env:
# DATAVERSE_BACKEND_URL: ${{ secrets.DATAVERSE_BACKEND_URL }}
# run: |
# touch .env
# echo VITE_DATAVERSE_BACKEND_URL="$DATAVERSE_BACKEND_URL" >> .env
# shell: bash

# - name: Cypress run
# uses: cypress-io/github-action@v4
# with:
# build: npm run build
# start: npm run preview
# wait-on: 'npx wait-on --timeout 60000 http://localhost:5173'
component:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 345e5d0

Please sign in to comment.