Skip to content

Commit

Permalink
Add a workflow for testing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed Aug 2, 2024
1 parent d621eff commit 437daae
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test docs

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test_docs:
name: Test docs
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements-test.txt
- name: Test docs
run: |
python -m pytest -k test_tutorials

0 comments on commit 437daae

Please sign in to comment.