Skip to content

Commit

Permalink
Add dependencies for "Build Documentation" workflow and run on PR
Browse files Browse the repository at this point in the history
Some missing dependencies have been added to the "Build XML documentation and upload coverage" job and the workflow is now run for any pull request on main, stable or oldstable to catch errors earlier.
  • Loading branch information
timopollmeier authored Nov 14, 2023
1 parent 39e6c0b commit dbde544
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@ name: 'Build Documentation'
on:
push:
branches: [ main, stable, oldstable ]
pull_request:
branches: [ main, stable, oldstable ]

jobs:
generate-doc-and-upload-coverage:
name: Build XML documentation and upload coverage
runs-on: ubuntu-latest
container: greenbone/doxygen
steps:
- name: Install gvmd doc dependencies
run: |
apt update
apt install --no-install-recommends -y xmltoman xsltproc
rm -rf /var/lib/apt/lists/*
- name: Run the c lang coverage action
uses: greenbone/actions/doc-coverage-clang@v3

Expand Down

0 comments on commit dbde544

Please sign in to comment.