Skip to content

Commit

Permalink
Test on deployed action
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 7, 2024
1 parent 47dce85 commit 3f49a1f
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,3 +31,29 @@ jobs:
run: |
test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq"
echo ${{ steps.recursive-prerequisites.outputs.hash }}
test: 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 }}

0 comments on commit 3f49a1f

Please sign in to comment.