From 7f8d4356edf52e35a1089e199d48b6319e6db3c3 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Sun, 1 Jan 2023 16:37:34 +0100 Subject: [PATCH] gha: Add a final collection job This depends on the matrix, but has an easy name that we can hang other things off of. --- .github/workflows/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5be5c7..1cc19f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,3 +97,16 @@ jobs: export CLN_PATH=${{ github.workspace }}/lightning pip3 install --user -U virtualenv pip > /dev/null python3 .ci/test.py + + gather: + # A dummy task that depends on the full matrix of tests, and + # signals successful completion. Used for the PR status to pass + # before merging. + name: CI completion + runs-on: ubuntu-20.04 + needs: + - build-and-test + steps: + - name: Complete + run: | + echo CI completed successfully