diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 705478f..784dd39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,8 @@ jobs: run: make -f Makefile fmt-ci - name: Run cargo clippy run: make -f Makefile clippy + - name: Run doc tests + run: make -f Makefile doc-test dependencies: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 65e0346..2d4c483 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,15 @@ audit: build: cargo ${BUILD} +doc-test: + cargo test --doc + .PHONY: audit build check-fedora-versions clippy + doc-test fmt fmt-ci test-compare-fedora-versions