Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 2 additions & 4 deletions .github/workflows/devRun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
merge_test:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.51-jammy
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -22,10 +24,6 @@ jobs:
run: |
uv venv
uv sync --all-extras --dev
- name: Install Playwright Browsers
run: |
PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
npx playwright@$PLAYWRIGHT_VERSION install --with-deps
- name: Test with pytest
run: xvfb-run .venv/bin/python -m pytest -m devRun --base-url ${{ vars.BASE_URL }}
- name: Auto-assign reviewers
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
nightly-test:
needs: setup-matrix
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.51-jammy
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
Expand All @@ -48,10 +50,6 @@ jobs:
run: |
uv venv
uv sync --all-extras --dev
- name: Install Playwright Browsers
run: |
PLAYWRIGHT_VERSION=$(grep -E '^playwright = "[^"]*"' pyproject.toml | sed -E 's/playwright = "([^"]*)".*$/\1/')
npx playwright@$PLAYWRIGHT_VERSION install --with-deps
- name: Run Tests
run: |
xvfb-run .venv/bin/python -m pytest ${{ github.event.inputs.pytest_command || '-m "not devRun"' }} \
Expand Down
Loading