Reparametrised such that r is the stdev along the major axis, shear i… #724
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: automated tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: checkout | |
uses: actions/checkout@main | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: install environment | |
run: | | |
python -m pip install --upgrade pip | |
pip install --quiet . | |
pip install --quiet pytest | |
# ===== Tests ===== | |
- name: install tests | |
run: pytest --quiet tests/test_installation.py | |
- name: wavefront tests | |
run: pytest --quiet tests/test_wavefronts.py | |
- name: optical layer tests | |
run: pytest --quiet tests/test_optical_layers.py | |
- name: aperture tests | |
run: pytest --quiet tests/test_apertures.py | |
- name: aperture tests | |
run: pytest --quiet tests/test_aberrations.py | |
- name: propagator tests | |
run: pytest --quiet tests/test_propagators.py | |
- name: optics tests | |
run: pytest --quiet tests/test_optics.py | |
- name: image tests | |
run: pytest --quiet tests/test_images.py | |
- name: detector layer tests | |
run: pytest --quiet tests/test_detector_layers.py | |
- name: detector tests | |
run: pytest --quiet tests/test_detectors.py | |
- name: spectra tests | |
run: pytest --quiet tests/test_spectra.py | |
- name: source tests | |
run: pytest --quiet tests/test_sources.py | |
- name: instrument tests | |
run: pytest --quiet tests/test_instruments.py | |
- name: observations tests | |
run: pytest --quiet tests/test_observations.py | |
- name: utils tests | |
run: pytest --quiet tests/test_utils.py |