Skip to content

added outline of tests #1

added outline of tests

added outline of tests #1

name: Smoke Tests
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Run Playwright tests
run: npx playwright test E2E.spec.ts
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Run k6 tests
uses: grafana/[email protected]

Check failure on line 28 in .github/workflows/playwright_smoke.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/playwright_smoke.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
with:
filename: load_tests/hearttransplant.js
- name: Store k6 report
uses: actions/upload-artifact@v4
if: always()
with:
name: k6-summary-report.html
path: HeartTransplant.html