From: Tomas Mraz Date: Fri, 25 Aug 2023 11:39:09 +0000 (+0200) Subject: Revert "drop! Make failing tests run on pull request to test" X-Git-Tag: openssl-3.2.0-alpha1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=975f372a6f7ae20e0c4c55a930a6844f2585ee6d;p=thirdparty%2Fopenssl.git Revert "drop! Make failing tests run on pull request to test" This reverts commit 86051eb2bb86e3a89e69abfb6419409aa701bcf7. Reviewed-by: Hugo Landau Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21843) --- diff --git a/.github/workflows/compiler-zoo.yml b/.github/workflows/compiler-zoo.yml index 4f805f3831b..f055cf04e45 100644 --- a/.github/workflows/compiler-zoo.yml +++ b/.github/workflows/compiler-zoo.yml @@ -7,7 +7,7 @@ name: Compiler Zoo CI -on: [pull_request] +on: [push] permissions: contents: read diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index f61d64add8f..08f5930c188 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -183,26 +183,26 @@ jobs: run: make -s -j4 - name: install qemu - if: matrix.platform.tests != 'none' + if: github.event_name == 'push' && matrix.platform.tests != 'none' run: sudo apt-get -yq --force-yes install qemu-user - name: Set QEMU environment - if: matrix.platform.qemucpu != '' + if: github.event_name == 'push' && matrix.platform.qemucpu != '' run: echo "QEMU_CPU=${{ matrix.platform.qemucpu }}" >> $GITHUB_ENV - name: Set OpenSSL caps environment - if: matrix.platform.opensslcapsname != '' + if: github.event_name == 'push' && matrix.platform.opensslcapsname != '' run: echo "OPENSSL_${{ matrix.platform.opensslcapsname }}=\ ${{ matrix.platform.opensslcaps }}" >> $GITHUB_ENV - name: make all tests - if: matrix.platform.tests == '' + if: github.event_name == 'push' && matrix.platform.tests == '' run: | make test HARNESS_JOBS=${HARNESS_JOBS:-4} \ TESTS="-test_afalg" \ QEMU_LD_PREFIX=/usr/${{ matrix.platform.arch }} - name: make some tests - if: matrix.platform.tests != 'none' && matrix.platform.tests != '' + if: github.event_name == 'push' && matrix.platform.tests != 'none' && matrix.platform.tests != '' run: | make test HARNESS_JOBS=${HARNESS_JOBS:-4} \ TESTS="${{ matrix.platform.tests }} -test_afalg" \