Merge pull request #1965 from robsdedude/fix/lbi-empty-only-import-files #2429
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: Test | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v6 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
check-latest: true | |
- name: Install UV | |
uses: astral-sh/setup-uv@v6 | |
with: | |
enable-cache: true | |
version-file: "pyproject.toml" | |
- name: Install dependencies | |
run: uv sync --all-extras --frozen | |
- name: Test | |
run: uv run --with tox-uv tox -e py,coverage_report-ci | |
- name: Report Coverage | |
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' | |
uses: codecov/codecov-action@v5 |