Skip to content

Update sphinx to 7.3.3 #444

Update sphinx to 7.3.3

Update sphinx to 7.3.3 #444

Workflow file for this run

name: CI
on:
pull_request:
branches:
- develop
- master
- main
jobs:
test-full:
name: Full Test Suite
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install Dependencies
shell: bash -l {0}
run: |
python --version
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install astropy scikit-image scikit-learn matplotlib
python -m pip install tensorflow>=2.4.1 torch
- name: Run Tests
shell: bash -l {0}
run: |
pytest -n 2
- name: Save Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: unit-test-results-${{ matrix.os }}-${{ matrix.python-version }}
path: coverage.xml
- name: Check API Documentation build
shell: bash -l {0}
run: |
apt install pandoc
pip install .[doc] ipykernel
sphinx-apidoc -t docs/_templates -feTMo docs/source modopt
sphinx-build -b doctest -E docs/source docs/_build
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
flags: unittests