Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: tests are no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Jun 9, 2024
1 parent c96a906 commit be2117f
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ jobs:
- name: run ${{ matrix.step }}
run: npm run ${{ matrix.step }}

tests:
needs: build
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4, 5]
shardTotal: [5]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
- name: install dependencies
run: npm ci
- name: Install Playwright's dependencies
run: npx playwright install chromium
- name: run tests
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
# tests:
# needs: build
# runs-on: ubuntu-latest
# services:
# mongo:
# image: mongo
# ports:
# - 27017:27017
# strategy:
# fail-fast: false
# matrix:
# shardIndex: [1, 2, 3, 4, 5]
# shardTotal: [5]
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: "18"
# cache: "npm"
# - name: install dependencies
# run: npm ci
# - name: Install Playwright's dependencies
# run: npx playwright install chromium
# - name: run tests
# run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}

0 comments on commit be2117f

Please sign in to comment.