Skip to content

pin numpy<2

pin numpy<2 #8377

Workflow file for this run

name: test
on:
push:
branches:
- master
- '*x'
tags:
- '*'
pull_request:
branches:
- master
schedule:
# Weekly Monday 9AM build
- cron: "0 9 * * 1"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
default_python: "3.12"
envs: |
- linux: check-style
- linux: check-security
- linux: check-dependencies
crds_contexts:
uses: spacetelescope/crds/.github/workflows/contexts.yml@master
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
needs: [ crds_contexts ]
with:
setenv: |
CRDS_PATH: /tmp/data/crds_cache
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
cache-path: /tmp/data/crds_cache
cache-key: crds-${{ needs.crds_contexts.outputs.jwst }}
envs: |
- linux: py310-oldestdeps-xdist-cov
pytest-results-summary: true
- linux: py310-xdist
- linux: py311-xdist
pytest-results-summary: true
- macos: py311-xdist
pytest-results-summary: true
- linux: py311-xdist-cov
coverage: codecov
pytest-results-summary: true
- linux: py312-xdist