Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hijack the CodeQL workflow to test CodeCov code coverage reporting #10

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@ jobs:
if: matrix.product == 'auth'
run: |
autoreconf -vfi
./configure --with-modules='bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns' --enable-tools --enable-ixfrdist --enable-dns-over-tls --enable-experimental-pkcs11 --with-libsodium --enable-lua-records CFLAGS='-O0' CXXFLAGS='-O0'
./configure --with-modules='bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns' --enable-tools --enable-ixfrdist --enable-dns-over-tls --enable-experimental-pkcs11 --with-libsodium --enable-lua-records CFLAGS='-O0 -coverage' CXXFLAGS='-O0 -coverage'
make -j8 -C ext
make -j8 -C modules
make -j8 -C pdns
make -j8 check

- name: Build dnsdist
if: matrix.product == 'dnsdist'
Expand All @@ -113,6 +114,7 @@ jobs:
make -j8 -C ext/ipcrypt
make -j8 -C ext/yahttp
make -j4 dnsdist
make -j4 check

- name: Build recursor
if: matrix.product == 'rec'
Expand All @@ -123,6 +125,10 @@ jobs:
make -j8 -C ext
make htmlfiles.h
make -j8 pdns_recursor rec_control
make -j8 check

- name: Codecov
run: bash <(curl -s https://codecov.io/bash) -p pdns/recursordist -p pdns/dnsdistdist -p pdns

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1