Skip to content

Commit

Permalink
Merge pull request #136 from ocefpaf/py313
Browse files Browse the repository at this point in the history
Use Python 3.13 in the tests
  • Loading branch information
ocefpaf authored Oct 30, 2024
2 parents 6fce0d6 + 5367ffb commit 950b340
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
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

0 comments on commit 950b340

Please sign in to comment.