Skip to content

Merge pull request #51 from jrusz/update-select #200

Merge pull request #51 from jrusz/update-select

Merge pull request #51 from jrusz/update-select #200

Workflow file for this run

name: wt.pf5 tests
on:
push:
branches:
- main
pull_request:
types: ["opened", "synchronize", "reopened"]
create:
jobs:
test:
name: 🐍 Tests (python-${{ matrix.python-version }}, ${{ matrix.browser }})
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip wheel
pip install .[dev]
- name: Fetch selenium image
run: podman pull selenium/standalone-${{ matrix.browser }}:4.9.0-20230421
- name: Test with pytest
env:
BROWSER: ${{ matrix.browser }}
run: |
pytest -v -n 5 --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
flags: unittests
name: ${{ github.run_id }}-py-${{ matrix.python-version }}-${{ matrix.browser }}