Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #41
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: Doctests | |
on: [push, pull_request] | |
env: | |
CMAKE_VERSION: 3.16.2 | |
BUILD_TYPE: Release | |
jobs: | |
doctests: | |
# Should we run doctests on all platforms? | |
name: Run Doctests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install doxygen | |
run: | | |
sudo apt update | |
sudo apt install -y doxygen | |
- name: Build | |
shell: bash | |
run: | | |
python -m pip install .[docs] | |
cmake -B build/docs -S documentation -DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
cmake --build build/docs --config $BUILD_TYPE | |
- name: Run Doctests | |
run: cmake --build build/docs --target pydoctest --config $BUILD_TYPE |