Skip to content

Minor changes to plotting - highlight the best or reference point #98

Minor changes to plotting - highlight the best or reference point

Minor changes to plotting - highlight the best or reference point #98

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: PyTest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install requirements
run: pip install obsidian-apo[dev]
- name: Run tests and collect coverage
run: pytest --cov=.
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install obsidian-apo[docs]
- name: Sphinx build
run: |
sphinx-build docs _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: flake8 Lint
uses: py-actions/flake8@v2