]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Revert "CI: run GCC unit test job on push to main"
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 10 Nov 2021 16:15:00 +0000 (17:15 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 10 Nov 2021 16:15:35 +0000 (17:15 +0100)
This reverts commit c1036042f5aa3369d771776fb6d57fac2543d80d.

Follow-up to 0ad536c16a940b4557322f3f811db73c4b374898.

.github/workflows/unit_tests.yml

index 0b8c1782ea3e21545d52f0dccd64926424c7e485..d6c3fafabdc58287dd80cf8694ca0271b809bd13 100644 (file)
@@ -4,10 +4,6 @@
 #
 name: Unit tests
 on:
-  # On push/merge to main we only run the GCC job, to get coverage data uploaded to coveralls.io
-  push:
-    branches:
-      - main
   pull_request:
     branches:
       - main
@@ -22,10 +18,7 @@ jobs:
     steps:
       - name: Repository checkout
         uses: actions/checkout@v2
-        if: github.event_name == 'pull_request' || matrix.run_phase == 'GCC'
       - name: Install build dependencies
         run: sudo -E .github/workflows/unit_tests.sh SETUP
-        if: github.event_name == 'pull_request' || matrix.run_phase == 'GCC'
       - name: Build & test (${{ matrix.run_phase }})
         run: sudo -E .github/workflows/unit_tests.sh RUN_${{ matrix.run_phase }}
-        if: github.event_name == 'pull_request' || matrix.run_phase == 'GCC'