Skip to content

Commit

Permalink
Merge pull request #341 from sblunt/coverage-and-readthedocs-updates
Browse files Browse the repository at this point in the history
Coverage and readthedocs updates
  • Loading branch information
semaphoreP committed Jun 23, 2023
2 parents a1248ee + 6c05e63 commit 54a7eb0
Show file tree
Hide file tree
Showing 6 changed files with 358 additions and 140 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
python -m pip install flake8 pytest pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -38,4 +38,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
pytest --cov
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2

20 changes: 20 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.10"

sphinx:
configuration: docs/conf.py

formats:
- pdf
- epub

python:
install:
- requirements: requirements.txt # orbitize requirements
- requirements: docs/requirements.txt # docs-building requirements
- method: pip
path: . # install orbitize
12 changes: 0 additions & 12 deletions docs/readthedocs-environment.yml

This file was deleted.

3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nbsphinx
pandoc
ipykernel
452 changes: 330 additions & 122 deletions docs/tutorials/Using_nonOrbitize_Posteriors_as_Priors.ipynb

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions readthedocs.yml

This file was deleted.

0 comments on commit 54a7eb0

Please sign in to comment.