Skip to content

Fix CI: remove working-directory for standalone repo #2

Fix CI: remove working-directory for standalone repo

Fix CI: remove working-directory for standalone repo #2

Workflow file for this run

name: Playwright Tests
permissions:
contents: read
checks: write
id-token: write
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Install Playwright browsers
run: playwright install --with-deps
- name: Create .env file
run: echo "DEMO_BASE_URL=https://hypersequent.github.io/bistro/" > .env
- name: Run Playwright tests
run: pytest --browser chromium -v
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: test-results/
- uses: actions/upload-artifact@v4
if: always()
with:
name: junit-results
path: junit-results/
- name: Publish JUnit Report
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: "junit-results/*.xml"