Skip to content

Commit

Permalink
config: #2 define testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianrbp committed Aug 3, 2024
1 parent cc463eb commit 2fba4c7
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,20 @@ jobs:
# sleep 2
# done

frontend-e2e:
runs-on: mcr.microsoft.com/playwright:v1.39.0-jammy
needs: [backend, frontend]
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: |
cd frontend
yarn install
- name: Run Playwright tests
run: |
cd frontend
yarn test:e2e
# frontend-e2e:
# runs-on: ubuntu-latest
# needs: backend # Ensure frontend tests run after backend tests
# steps:
# - name: Checkout code
# uses: actions/checkout@v2

# - name: Set up Node.js
# uses: actions/setup-node@v2
# with:
# node-version: '16' # Change to your Node.js version

# - name: Install dependencies
# run: |
# cd frontend
# yarn install

# - name: Run Jest tests
# run: |
# cd frontend
# yarn test:e2e

0 comments on commit 2fba4c7

Please sign in to comment.