Remove upper pytest pin, switch globals use to fixture in stpipe test #7477
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: | |
- master | |
- '*x' | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- master | |
schedule: | |
# Weekly Monday 9AM build | |
- cron: "0 9 * * 1" | |
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: py39-oldestdeps-xdist-cov | |
pytest-results-summary: true | |
- linux: py39-xdist | |
- 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 |