Intercept exceptions with sentry #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Documentation | |
on: | |
push: | |
branches: | |
- production | |
- main | |
pull_request: | |
branches: | |
- production | |
- main | |
jobs: | |
tests: | |
name: ${{ matrix.python }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: pip|${{ hashFiles('web/requirements.doc.txt') }} | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r web/requirements.doc.txt | |
- name: Run unit tests | |
run: sphinx-build documentation build/sphinx/html |