Skip to content

Created new rmap for miri_mask. #1030

Created new rmap for miri_mask.

Created new rmap for miri_mask. #1030

Workflow file for this run

name: CI
on:
## uncomment before merging to master once test suite is finalized
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CRDS_TEST_ROOT: /tmp
CRDS_SERVER_URL: https://hst-crds.stsci.edu
CRDS_CLIENT_RETRY_COUNT: 3
CRDS_CLIENT_RETRY_DELAY_SECONDS: 20
LD_LIBRARY_PATH: /usr/local/lib
defaults:
run:
shell: bash -leo pipefail {0} {0}
jobs:
cache:
uses: ./.github/workflows/cache.yml
pytest:
name: ${{ matrix.runs-on }} Python ${{ matrix.python-version }}
needs: [ cache ]
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
runs-on:
- ubuntu-latest
- macos-latest
python-version:
- 3.9
- '3.10'
- 3.11
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: crds-testing
create-args: >-
python=${{ matrix.python-version }}
asdf
astropy
filelock
fitsverify
numpy
parsley
requests
init-shell: bash
cache-environment: true
cache-downloads: true
- run: pip install roman-datamodels git+https://github.com/spacetelescope/jwst
- run: pip uninstall --yes crds && ./install && pip install .[submission,test,docs,synphot]
- id: cache
uses: actions/cache@v3
with:
path: |
${{ needs.cache.outputs.path }}
${{ needs.cache.outputs.testing_cache }}
key: ${{ needs.cache.outputs.key }}
- run: ./runtests --cover