Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Python 3.13 in the tests #136

Merged
merged 3 commits into from
Oct 30, 2024
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
5 changes: 3 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
jobs:
build-docs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}

steps:
- name: checkout
Expand All @@ -31,12 +34,10 @@ jobs:
--channel conda-forge

- name: Install ioos_qc
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall

- name: Build documentation
shell: bash -l {0}
run: >
set -e
pushd docs
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Default-Tests
name: Full Tests

on:
pull_request:
Expand All @@ -10,9 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
os: [ubuntu-latest]
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
os: [ windows-latest, ubuntu-latest, macos-latest ]
numba: [true, false]
# Numba is not out on Python 3.13 yet.
exclude:
- python-version: "3.13"
numba: true
fail-fast: false
defaults:
run:
Expand All @@ -37,11 +41,10 @@ jobs:
python -m pip install -e . --no-deps --force-reinstall

- name: numba
# numba is listed in requirements.txt so we need to remove it below.
if: ${{ ! matrix.numba }}
if: ${{ matrix.numba }}
run: |
micromamba remove numba
micromamba install numba

- name: Tests
run: |
python -m pytest --disable-warnings
python -m pytest --disable-warnings
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ bokeh
dask
erddapy
nco
numba
pytest