Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate playwright to github workflow #184

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .github/workflows/build-publish.yaml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/buildTestBinaries.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/checkFormat.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/ghcr-cleanup.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/golangci-lint.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Install dependencies
working-directory: ./web/playwright
run: npm ci
- name: Install Playwright Browsers
working-directory: ./web/playwright
run: npx playwright install --with-deps
- name: Install dotenv
run: npm install --save dotenv
- name: Build client application
run: make build
- name: Run client application
run: .tmp/dist/client-application_linux_amd64_v1/client-application &
- name: Run Playwright tests
working-directory: ./web/playwright
run: REACT_APP_HTTP_GATEWAY_ADDRESS=localhost:8080 npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: ./web/playwright/playwright-report/
retention-days: 30
50 changes: 0 additions & 50 deletions .github/workflows/release.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/staticAnalysis.yml

This file was deleted.

Loading
Loading