Skip to content

Deprecated example code, clarification #775

Deprecated example code, clarification

Deprecated example code, clarification #775

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade setuptools tox
pip install .[lint]
- name: Run Tox
run: tox -e lint
test:
needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade setuptools tox
pip install .[test]
python -m playwright install
python -m playwright install-deps
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py
# Upload coverage to codecov: https://codecov.io/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml