Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics authored Jun 15, 2024
1 parent 2831a0c commit 53886a3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Expect Self Parameter Action

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run expect-self-parameter action
uses: ./ # This points to the local action in the repository
with:
params: >
[
{"step_id": "foo", "param": "continue-on-error", "expected_value": "true"},
{"step_id": "bar", "param": "timeout-minutes", "expected_value": "10"}
]
- id: foo
run: echo hello
continue-on-error: true

- id: bar
run: sleep 5
timeout-minutes: 10

0 comments on commit 53886a3

Please sign in to comment.