Skip to content

Revamp JoinRecords #146

Revamp JoinRecords

Revamp JoinRecords #146

Workflow file for this run

name: Playwright Tests
permissions: read-all
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Playwright Tests
timeout-minutes: 60
runs-on: ubuntu-latest
services:
minio:
image: quay.io/minio/minio
ports:
- '9000:9000'
- '9001:9001'
volumes:
- 'minio_data:/data'
command: |

Check failure on line 21 in .github/workflows/playwright.yml

View workflow run for this annotation

GitHub Actions / Playwright Tests

Invalid workflow file

The workflow is not valid. .github/workflows/playwright.yml (Line: 21, Col: 9): Unexpected value 'command' .github/workflows/playwright.yml (Line: 23, Col: 9): Unexpected value 'environment'
server /data
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=admin1234
- MINIO_DEFAULT_BUCKETS=meshdb-join-form-log
- MINIO_ACCESS_KEY=sampleaccesskey
- MINIO_SECRET_KEY=samplesecretkey
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
with:
node-version: lts/*
- 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:
NEXT_PUBLIC_MESHDB_URL: https://127.0.0.1:8000 # Throwaway to make the mock work
MESHDB_URL: https://127.0.0.1:8000 # Throwaway to make the mock work
# We now check the JoinRecord stuff, so submit that too.
S3_ENDPOINT: http://127.0.0.1:9000
S3_BUCKET_NAME: meshdb-join-form-log
S3_BASE_NAME: dev-join-form-submissions
S3_ACCESS_KEY: testaccesskey
S3_SECRET_KEY: testsecretkey
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30