Skip to content

Commit

Permalink
fix(mosq): Check that API docs are actual in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cermak committed Dec 20, 2024
1 parent 3db3fb3 commit 947d7e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/mosq__build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@ jobs:
mv $dir build
python -m pytest --log-cli-level DEBUG --junit-xml=./results_esp32_${{ matrix.idf_ver }}_${dir#"ci/build_"}.xml --target=esp32
done
check_api_docs:
name: Checks API Docs up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checks API Docs is actual
run: |
cp api.md api_orig.md
cd components/mosquitto
./generate_api_docs.sh
diff -wB api.md api_orig.md

0 comments on commit 947d7e0

Please sign in to comment.