Adopt rtichoke_viz v0.20.2 #45
This file contains hidden or 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: Quarto Summary Report Acceptance | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - "src/rtichoke/summary_report/**" | |
| - "src/rtichoke/_report_browser.py" | |
| - "src/rtichoke/_report_spec.py" | |
| - "src/rtichoke/_renderers.py" | |
| - "src/rtichoke/_decision_curve_viz_spec_v2.py" | |
| - "src/rtichoke/utility/decision.py" | |
| - "src/rtichoke/_vendor/rtichoke_viz/**" | |
| - "tests/test_quarto_summary_report_browser.py" | |
| - "tests/test_summary_report_browser.py" | |
| - "tests/test_summary_report_times_browser.py" | |
| - "tests/test_decision_curve_browser_acceptance.py" | |
| - ".github/workflows/quarto-acceptance.yml" | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "src/rtichoke/summary_report/**" | |
| - "src/rtichoke/_report_browser.py" | |
| - "src/rtichoke/_report_spec.py" | |
| - "src/rtichoke/_renderers.py" | |
| - "src/rtichoke/_decision_curve_viz_spec_v2.py" | |
| - "src/rtichoke/utility/decision.py" | |
| - "src/rtichoke/_vendor/rtichoke_viz/**" | |
| - "tests/test_quarto_summary_report_browser.py" | |
| - "tests/test_summary_report_browser.py" | |
| - "tests/test_summary_report_times_browser.py" | |
| - "tests/test_decision_curve_browser_acceptance.py" | |
| - ".github/workflows/quarto-acceptance.yml" | |
| workflow_dispatch: | |
| jobs: | |
| quarto-acceptance: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set Python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Quarto CLI | |
| uses: quarto-dev/quarto-actions/setup@v2 | |
| with: | |
| version: "1.4.555" | |
| - name: Install project dependencies | |
| run: uv sync --all-extras --dev | |
| - name: Install Playwright Chromium for browser acceptance | |
| run: uv run --with playwright playwright install chromium | |
| - name: Run browser acceptance tests | |
| run: >- | |
| uv run --with playwright pytest | |
| tests/test_quarto_summary_report_browser.py | |
| tests/test_decision_curve_browser_acceptance.py | |
| tests/test_summary_report_browser.py | |
| tests/test_summary_report_times_browser.py |