diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 7646d03..d62deaa 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -12,6 +12,9 @@ on: jobs: build-docs: runs-on: ubuntu-latest + defaults: + run: + shell: bash -l {0} steps: - name: checkout @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f070cc0..c4ddd88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Default-Tests +name: Full Tests on: pull_request: @@ -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: @@ -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 \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index bb02da3..75e9597 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,5 +2,4 @@ bokeh dask erddapy nco -numba pytest