Skip to content

Attempted fix at failed docs build #742

Attempted fix at failed docs build

Attempted fix at failed docs build #742

Workflow file for this run

name: automated tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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: tests install
run: pytest --quiet tests/test_installation.py
- name: test utils array_ops
run: pytest --quiet tests/utils/test_array_ops.py
- name: test utils coordinates
run: pytest --quiet tests/utils/test_coordinates.py
- name: test utils geometry
run: pytest --quiet tests/utils/test_geometry.py
- name: test utils helpers
run: pytest --quiet tests/utils/test_helpers.py
- name: test utils interpolation
run: pytest --quiet tests/utils/test_interpolation.py
- name: test utils math
run: pytest --quiet tests/utils/test_math.py
- name: test utils optics
run: pytest --quiet tests/utils/test_optics.py
- name: test utils propagation
run: pytest --quiet tests/utils/test_propagation.py
- name: test utils source
run: pytest --quiet tests/utils/test_source.py
- name: test utils units
run: pytest --quiet tests/utils/test_units.py
- name: test utils zernike
run: pytest --quiet tests/utils/test_zernike.py
- name: test layers aberrations
run: pytest --quiet tests/layers/test_aberrations.py
- name: test layers apertures
run: pytest --quiet tests/layers/test_apertures.py
- name: test layers detector_layers
run: pytest --quiet tests/layers/test_detector_layers.py
- name: test layers optical_layers
run: pytest --quiet tests/layers/test_optical_layers.py
- name: test layers optics
run: pytest --quiet tests/layers/test_optics.py
- name: test layers propagators
run: pytest --quiet tests/layers/test_propagators.py
- name: test layers unified_layers
run: pytest --quiet tests/layers/test_unified_layers.py
- name: test transformations
run: pytest --quiet tests/test_transformations.py
- name: test detectors
run: pytest --quiet tests/test_detectors.py
- name: test instruments
run: pytest --quiet tests/test_instruments.py
- name: test optical_systems
run: pytest --quiet tests/test_optical_systems.py
- name: test psfs
run: pytest --quiet tests/test_psfs.py
- name: test sources
run: pytest --quiet tests/test_sources.py
- name: test spectra
run: pytest --quiet tests/test_spectra.py
- name: test wavefronts
run: pytest --quiet tests/test_wavefronts.py