Flexible way to fill DATAMAX/MIN BUNIT EXPOSURE in FITS header keywords #523
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: EndToEndRun | |
on: | |
push: | |
branches: | |
- '**' # matches every branch | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
steps: | |
- name: Checkout github repo (+ download lfs dependencies) | |
uses: actions/checkout@v2 | |
with: | |
lfs: true | |
submodules: recursive | |
- name: Checkout LFS objects | |
run: git lfs checkout | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -e .[dev] | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: end2end test with pytest | |
run: | | |
pytest -p no:warnings --doctest-rst -m "end2end" --pyargs stixcore |