try to run tests on windows

This commit is contained in:
Luca Beurer-Kellner
2025-05-21 09:25:41 +02:00
parent 99b5497b81
commit d7ff816834
2 changed files with 12 additions and 15 deletions
+9 -12
View File
@@ -12,26 +12,23 @@ permissions:
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, windows-latest]
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
- name: Create venv
run: uv venv
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
uv sync
uv add pytest
- name: Run unit tests
id: unit-tests
run: |
pip install -r tests/unit_tests/requirements.txt
uv pip install -r tests/unit_tests/requirements.txt
./run.sh unit-tests -s -vv
continue-on-error: true