diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-06-20 07:52:24 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-07-01 11:38:25 +0200 |
commit | c267588fd400593c090ebb24643c2be5158bfbcc (patch) | |
tree | 62c00c549710970ae9e40c1ebbcdb0a06d902ebb /.github | |
parent | d840f07bcdfc3910de5aa327a245866a67f94799 (diff) |
Increase test coverage by enabling more build options
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18606)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coveralls.yml | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 3392edda4a..c23df85acf 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -17,17 +17,27 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: package installs run: | + sudo apt-get update sudo apt-get -yq install lcov + sudo apt-get -yq install bison gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcsh python3-virtualenv virtualenv python3-kdcproxy + - name: install cpanm and Test2::V0 for gost_engine testing + uses: perl-actions/install-with-cpanm@v1 + with: + install: Test2::V0 + - name: setup hostname workaround + run: sudo hostname localhost - name: config - run: CC=gcc ./config --banner=Configured --debug --coverage no-asm enable-fips enable-rc5 enable-md2 enable-ssl3 enable-nextprotoneg enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-shared enable-buildtest-c++ enable-external-tests -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION + run: CC=gcc ./config --banner=Configured --debug --coverage no-asm no-afalgeng enable-fips enable-rc5 enable-md2 enable-ssl3 enable-nextprotoneg enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-shared enable-buildtest-c++ enable-external-tests enable-tfo enable-quic -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION - name: config dump run: ./configdata.pm --dump - name: make run: make -s -j4 - name: make test - run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} + run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} TESTS='-test_external_krb5' - name: generate coverage info run: lcov -d . -c -o ./lcov.info - name: Coveralls upload |