Skip to content

Updating README, CONTRIBUTING files #698

Updating README, CONTRIBUTING files

Updating README, CONTRIBUTING files #698

Workflow file for this run

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 '.[tests]'
# ===== 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