From bd331ceeb7bfec2138b20aeb1b7b88010de121df Mon Sep 17 00:00:00 2001 From: Derek Homeier Date: Wed, 17 Apr 2024 16:00:17 +0200 Subject: [PATCH] TST: dev tests on macOS + Windows; remove py>=311-windows --- .github/workflows/ci_workflows.yml | 9 ++++++--- tox.ini | 10 ++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index c521d4e39..44c191816 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -47,15 +47,18 @@ jobs: # Test some configurations on Windows - windows: py38-test - - windows: py310-test - - windows: py311-test - - windows: py312-test + - windows: py39-test # Test against latest developer versions of some packages - linux: py310-test-dev-all - linux: py311-test-dev - linux: py312-test-dev-all + - macos: py311-test-dev-all + - macos: py312-test-dev + + - windows: py310-test-dev + publish: needs: tests uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 diff --git a/tox.ini b/tox.ini index af2cb3a50..16da8489c 100644 --- a/tox.ini +++ b/tox.ini @@ -21,11 +21,9 @@ changedir = test: .tmp/{envname} docs: doc deps = - dev: numpy==2.0.0rc1 - dev: scipy==1.13.0 - dev: astropy==6.1.0rc1 - dev: shapely>=0.0.dev0 - dev: git+https://github.com/radio-astro-tools/casa-formats-io.git + dev: numpy>=0.0.dev0 + dev: scipy>=0.0.dev0 + dev: astropy>=0.0.dev0 # LTS lts: astropy==5.0.* lts: matplotlib==3.5.* @@ -55,7 +53,7 @@ extras = # for as long all test deps need to be manually pulled in above as well! install_command = !dev: python -I -m pip install - dev: python -I -m pip install -v --pre + dev: python -I -m pip install -v commands = test: pip freeze test: pytest --pyargs glue --cov glue --cov-config={toxinidir}/setup.cfg {env:MPLFLAGS} {posargs}