diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index c4e69cc..c985f95 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -38,7 +38,7 @@ jobs: - name: Prepare run: conda install doxygen sphinx=7.1.2 breathe pybind11 sphinx_rtd_theme furo nlohmann_json zeromq fmt numpy - - name: Build library + - name: Build run: | mkdir build cd build @@ -46,6 +46,12 @@ jobs: make -j 2 make docs + - name: Test + working-directory: ${{github.workspace}}/build + # Execute tests defined by the CMake configuration. + # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail + run: ctest -C ${{env.BUILD_TYPE}} -j1 + - name: Upload static files as artifact id: deployment uses: actions/upload-pages-artifact@v3