Skip to content

Commit

Permalink
test against python version 3.10-12
Browse files Browse the repository at this point in the history
drop deprecated mamba stuff
  • Loading branch information
bhazelton committed Sep 27, 2024
1 parent b842550 commit a02ad0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
ENV_NAME: publish

PYTHON: 3.9
PYTHON: 3.11
steps:
- uses: actions/checkout@main
with:
Expand Down
24 changes: 8 additions & 16 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.9, "3.10"]
python-version: ["3.10", "3.11", "3.12"]
services:
postgres:
image: postgres:10.8
Expand All @@ -54,12 +54,10 @@ jobs:
with:
fetch-depth: 1

- name: Setup Minimamba
- name: Setup Miniforge
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ env.PYTHON }}
environment-file: ci/${{ env.ENV_NAME }}.yaml
activate-environment: ${{ env.ENV_NAME }}
Expand Down Expand Up @@ -122,7 +120,7 @@ jobs:
min_deps:
env:
ENV_NAME: min_deps
PYTHON: 3.9
PYTHON: 3.11
WITH_SUDO: yes
# use localhost for the host here because we are running the job on the VM.
POSTGRES_HOST: localhost
Expand Down Expand Up @@ -156,12 +154,10 @@ jobs:
with:
fetch-depth: 1

- name: Setup Minimamba
- name: Setup Miniforge
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ env.PYTHON }}
environment-file: ci/${{ env.ENV_NAME }}.yaml
activate-environment: ${{ env.ENV_NAME }}
Expand Down Expand Up @@ -214,7 +210,7 @@ jobs:
min_versions:
env:
ENV_NAME: min_versions
PYTHON: 3.8
PYTHON: 3.10
WITH_SUDO: yes
# use localhost for the host here because we are running the job on the VM.
POSTGRES_HOST: localhost
Expand Down Expand Up @@ -248,12 +244,10 @@ jobs:
with:
fetch-depth: 1

- name: Setup Minimamba
- name: Setup Miniforge
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ env.PYTHON }}
environment-file: ci/${{ env.ENV_NAME }}.yaml
activate-environment: ${{ env.ENV_NAME }}
Expand Down Expand Up @@ -306,7 +300,7 @@ jobs:
warning_tests:
env:
ENV_NAME: tests
PYTHON: 3.9
PYTHON: 3.11
WITH_SUDO: yes
# use localhost for the host here because we are running the job on the VM.
POSTGRES_HOST: localhost
Expand Down Expand Up @@ -347,12 +341,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Minimamba
- name: Setup Miniforge
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ env.PYTHON }}
environment-file: ci/${{ env.ENV_NAME }}.yaml
activate-environment: ${{ env.ENV_NAME }}
Expand Down

0 comments on commit a02ad0a

Please sign in to comment.