Skip to content

Commit

Permalink
fix environment availability
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Mar 15, 2024
1 parent 492a24f commit e9d3418
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,25 @@ jobs:
coverage: codecov
pytest-results-summary: true
- linux: py3-dev
environment:
runs-on: ubuntu-latest
steps:
- id: data_path
run: echo "path=${{ env.DATA_PATH }}" >> $GITHUB_OUTPUT
outputs:
data_path: ${{ steps.data_path.outputs.path }}
crds_contexts:
uses: spacetelescope/crds/.github/workflows/contexts.yml@master
test_downstream:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
needs: [ crds_contexts ]
needs: [ environment, crds_contexts ]
with:
setenv: |
CRDS_PATH: ${{ env.DATA_PATH }}/crds
CRDS_PATH: ${{ needs.environment.outputs.data_path }}/crds
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
cache-path: ${{ env.DATA_PATH }}/crds
cache-path: ${{ needs.environment.outputs.data_path }}/crds
cache-key: crds-${{ needs.crds_contexts.outputs.jwst }}
envs: |
- linux: py311-test-jwst-cov-xdist

0 comments on commit e9d3418

Please sign in to comment.