Skip to content
Merged
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
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@ name: ci-python
on: [pull_request, push]
jobs:
py:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install -e . || true
- run: python -m pytest || true
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install package (non-Windows)
if: runner.os != 'Windows'
run: python -m pip install -e ".[dev]"
- name: Install package (Windows)
if: runner.os == 'Windows'
run: python -m pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -e ".[dev]"
- run: python -m pytest
Loading