Skip to content

Bump @astrojs/svelte from 7.2.0 to 7.2.1 in /client in the npm-production group across 1 directory #147

Bump @astrojs/svelte from 7.2.0 to 7.2.1 in /client in the npm-production group across 1 directory

Bump @astrojs/svelte from 7.2.0 to 7.2.1 in /client in the npm-production group across 1 directory #147

Workflow file for this run

name: "Run tests"
# Run tests on pull requests to main and on pushes to main
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
jobs:
backend-tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
cache: "pip"
- name: Install Python dependencies
run: bash ./scripts/setup-env.sh
- name: Run Flask unit tests
run: bash ./scripts/run-server-tests.sh
frontend-tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: "./client/package.json"
- name: Install JavaScript dependencies
working-directory: ./client
run: npm ci
- name: Install Playwright browsers
working-directory: ./client
run: npx playwright install --with-deps
- name: Run environment setup
run: bash ./scripts/setup-env.sh
- name: Run Playwright e2e tests
working-directory: ./client
run: npm run test:e2e
env:
CI: true
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
path: client/playwright-report/
retention-days: 30