From 345e5d0f91de33a07c1b9ef3be7d9520a789f0d4 Mon Sep 17 00:00:00 2001 From: GPortas Date: Tue, 9 May 2023 16:51:18 +0100 Subject: [PATCH] Changed: temporarily disabled e2e GitHub action execution --- .github/workflows/test.yml | 59 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cca0b812..9415320e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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