From c598cb481326a428da41f6e38f4fd7691df4e1a5 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Sat, 7 Sep 2024 09:34:52 +0200 Subject: [PATCH] Test on deployed action --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6608a94..4750550 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,10 @@ on: [push, pull_request] jobs: - test-action: - - name: Test Github Action + ci: + name: Continuous Integration Tests runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - name: List prerequisites non-recursively @@ -33,3 +31,32 @@ jobs: run: | test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq" echo ${{ steps.recursive-prerequisites.outputs.hash }} + + + test-action: + + name: Test Action + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: List prerequisites non-recursively + id: non-recursive-prerequisites + uses: colluca/list-make-prerequisites@${{ github.sha }} + with: + working-directory: test + target: test + - name: Check non-recursive prerequisites + run: | + test "${{ steps.non-recursive-prerequisites.outputs.prerequisites }}" = "prereq" + echo ${{ steps.non-recursive-prerequisites.outputs.hash }} + - name: List recursive prerequisites + id: recursive-prerequisites + uses: colluca/list-make-prerequisites@${{ github.sha }} + with: + working-directory: test + target: test + flags: --recursive + - name: Check recursive prerequisites + run: | + test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq" + echo ${{ steps.recursive-prerequisites.outputs.hash }}