Skip to content

First e2e integration test #6

First e2e integration test

First e2e integration test #6

# CI configuration for Playwright with Python and Qualibrate setup
name: Playwright Tests
on:
push:
branches:
- main
- integration
pull_request:
branches:
- main
- integration
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Python and Create Environment
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install qualibrate # Install Qualibrate package
pip install quam # Install Quam package
# pip install quam_libs # Install Quam libraries
# pip install quam_libs.components # Install Quam components
- name: Create Qualibrate Configuration
run: |
source .venv/bin/activate
# qualibrate config --create
yes | qualibrate config # Create the Qualibrate configuration file
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Playwright Dependencies
run: |
npm ci
npx playwright install --with-deps
- name: Run Playwright Tests
run: |
source .venv/bin/activate
npx playwright test --config=playwright.config.ts