41 lines
798 B
YAML
41 lines
798 B
YAML
name: Windows
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- release
|
|
|
|
jobs:
|
|
testWin:
|
|
runs-on: windows-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout Source
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install UV and Python
|
|
uses: astral-sh/setup-uv@v6
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Sync UV
|
|
run: |
|
|
uv sync --no-dev --group test
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
uv run --no-sync coverage run -m pytest -v --timeout=60
|
|
uv run --no-sync coverage xml
|
|
|
|
- name: Upload to Codecov
|
|
uses: codecov/codecov-action@v5
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
fail_ci_if_error: true
|