Skip to content

Merge pull request #552 from lona-web-org/fscherf/fix-browser-history #982

Merge pull request #552 from lona-web-org/fscherf/fix-browser-history

Merge pull request #552 from lona-web-org/fscherf/fix-browser-history #982

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@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
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@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
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@v4
with:
file: ./coverage.xml