Adapt Alert, Breadcrumb and Button to PF6 #302
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: ["opened", "synchronize", "reopened"] | |
create: | |
jobs: | |
test: | |
name: pf-${{ matrix.pf-version }} (π ${{ matrix.python-version }}, ${{ matrix.browser }}) | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chrome, firefox] | |
python-version: ["3.12", "3.13"] | |
pf-version: ["v5", "v6"] | |
steps: | |
- name: Pull selenium-standalone | |
run: podman pull selenium/standalone-${{ matrix.browser }}:latest | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install -U pip wheel | |
pip install .[dev] | |
- name: Test with pytest | |
run: | | |
pytest -sqvvv -n 3 --browser-name=${{ matrix.browser }} --pf-version=${{ matrix.pf-version }} testing/charts testing/components/forms testing/components/date_and_time testing/components/menus | |
# pytest -v -n 5 --browser-name=${{ matrix.browser }} --cov=./ --cov-report=xml | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v4 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# file: coverage.xml | |
# flags: unittests | |
# name: ${{ github.run_id }}-py-${{ matrix.python-version }}-${{ matrix.browser }} |