Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/full_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,30 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Set up uv
if: ${{ matrix.os == 'ubuntu-latest'}}
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Set up uv
if: ${{ matrix.os == 'windows-latest' }}
run: irm https://astral.sh/uv/install.ps1 | iex
shell: powershell



- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
uv venv
source .venv/bin/activate
uv pip install pytest pytest-cov

- name: Install mikeio
run: |
pip install .[test]
uv pip install .[test]
- name: Test with pytest
run: |
pytest --cov=mikeio tests --ignore tests/performance/ --ignore tests/notebooks/ --disable-warnings
.venv/bin/python -m pytest --cov=mikeio tests --ignore tests/performance/ --ignore tests/notebooks/ --disable-warnings
- name: Test docstrings with doctest
run: make doctest
- name: Static type check
Expand Down
Loading