Skip to content

Update .pre-commit-config.yaml #278

Update .pre-commit-config.yaml

Update .pre-commit-config.yaml #278

Workflow file for this run

name: testing
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.5.1"
- name: Install dependencies
run: |
poetry install
python -m pip install tox tox-gh-actions pytest-playwright pytest-rerunfailures
- name: Install playwright dependencies
run: |
playwright install chromium --with-deps
- name: Test with tox
run: tox
- uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: screenshot*.png