From 86051eb2bb86e3a89e69abfb6419409aa701bcf7 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 23 Aug 2023 19:59:27 +0200 Subject: [PATCH] drop! Make failing tests run on pull request to test Reviewed-by: Hugo Landau Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21823) --- .github/workflows/compiler-zoo.yml | 2 +- .github/workflows/cross-compiles.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compiler-zoo.yml b/.github/workflows/compiler-zoo.yml index f055cf04e45..4f805f3831b 100644 --- a/.github/workflows/compiler-zoo.yml +++ b/.github/workflows/compiler-zoo.yml @@ -7,7 +7,7 @@ name: Compiler Zoo CI -on: [push] +on: [pull_request] permissions: contents: read diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index 08f5930c188..f61d64add8f 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: github.event_name == 'push' && matrix.platform.tests != 'none' + if: matrix.platform.tests != 'none' run: sudo apt-get -yq --force-yes install qemu-user - name: Set QEMU environment - if: github.event_name == 'push' && matrix.platform.qemucpu != '' + if: matrix.platform.qemucpu != '' run: echo "QEMU_CPU=${{ matrix.platform.qemucpu }}" >> $GITHUB_ENV - name: Set OpenSSL caps environment - if: github.event_name == 'push' && matrix.platform.opensslcapsname != '' + if: matrix.platform.opensslcapsname != '' run: echo "OPENSSL_${{ matrix.platform.opensslcapsname }}=\ ${{ matrix.platform.opensslcaps }}" >> $GITHUB_ENV - name: make all tests - if: github.event_name == 'push' && matrix.platform.tests == '' + if: 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: github.event_name == 'push' && matrix.platform.tests != 'none' && matrix.platform.tests != '' + if: matrix.platform.tests != 'none' && matrix.platform.tests != '' run: | make test HARNESS_JOBS=${HARNESS_JOBS:-4} \ TESTS="${{ matrix.platform.tests }} -test_afalg" \ -- 2.47.2