drop! Make failing tests run on pull request to test
authorTomas Mraz <tomas@openssl.org>
Wed, 23 Aug 2023 17:59:27 +0000 (19:59 +0200)
committerHugo Landau <hlandau@openssl.org>
Fri, 25 Aug 2023 11:04:00 +0000 (12:04 +0100)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)

.github/workflows/compiler-zoo.yml
.github/workflows/cross-compiles.yml

index f055cf04e4541a9bf2006fb9ba16e603a7f338a4..4f805f3831bafb4d47e02cf569f168e30c5507c9 100644 (file)
@@ -7,7 +7,7 @@
 
 name: Compiler Zoo CI
 
-on: [push]
+on: [pull_request]
 
 permissions:
   contents: read
index 08f5930c1888dc6d650ee1f7dc0c535170092341..f61d64add8f6030459b7ad412d3dc80021b59a13 100644 (file)
@@ -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" \