Skip to content

Commit

Permalink
fix: disable e2e tests job
Browse files Browse the repository at this point in the history
  • Loading branch information
amalv committed Jan 9, 2024
1 parent 50c9271 commit c4bf813
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,33 +57,32 @@ jobs:
run: npm install
- name: Run unit tests
run: npm test

e2e-tests:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download deploy URL
uses: actions/download-artifact@v4
with:
name: deploy-url
- name: Set deploy URL
id: url
run: echo "::set-output name=DEPLOY_URL::$(cat deploy-url.txt)"
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
env:
URL: ${{ steps.url.outputs.DEPLOY_URL }}
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
# e2e-tests:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Download deploy URL
# uses: actions/download-artifact@v4
# with:
# name: deploy-url
# - name: Set deploy URL
# id: url
# run: echo "::set-output name=DEPLOY_URL::$(cat deploy-url.txt)"
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 20
# - name: Install dependencies
# run: npm ci
# - name: Install Playwright Browsers
# run: npx playwright install --with-deps
# - name: Run Playwright tests
# run: npx playwright test
# env:
# URL: ${{ steps.url.outputs.DEPLOY_URL }}
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30

1 comment on commit c4bf813

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.