Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 19 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:

linux:

name: Tests on Linux
name: Build and test on Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']


steps:
Expand All @@ -63,16 +63,21 @@ jobs:
python -m pip install --upgrade pip
pip install wheel
pip install --upgrade-strategy eager -e .[testing]
- name: Build
run: |
pip install build
python -m build
- name: Run pytest
run: pytest
run: |
python -m pip install --upgrade setuptools
pytest

windows:

name: Tests on Windows
name: Build and test on Windows
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']


steps:
Expand All @@ -92,8 +97,14 @@ jobs:
python -m pip install --upgrade pip
pip install wheel
pip install --upgrade-strategy eager -e .[testing]
- name: Build
run: |
pip install build
python -m build
- name: Run pytest
run: pytest
run: |
python -m pip install --upgrade setuptools
pytest

build_and_deploy_docs:
name: Build and deploy docs to Pages
Expand Down Expand Up @@ -133,7 +144,7 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install build dependencies
Expand Down
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ sphinx:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.9
install:
- requirements: docs/requirements.txt