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 c598cb4
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 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,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 }}

0 comments on commit c598cb4

Please sign in to comment.