Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yigaldviri committed Dec 24, 2024
1 parent f915ff9 commit fab93d5
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: main
on: [push, workflow_dispatch]

jobs:
Expand All @@ -10,18 +11,4 @@ jobs:
- name: This step will fail
run: |
echo "About to fail..."
exit 1
- name: test_our_action_step
uses: ./ # Uses an action in the root directory
id: failingRhymes
with:
openAIToken: ${{ secrets.OPENAI_API_TOKEN }}
ghToken: ${{ secrets.GH_API_TOKEN }}
failureDescription: "Commit ${{ github.ref }} by ${{ github.actor }}"
user: '${{ github.actor }}'
parameters: 'testParam=testValue,anotherTestParam=anotherTestValue'
healthcheckURL: 'https://loadmill-test-blog.herokuapp.com/'
healthcheckTimeout: '10'
# Use the output from the `test_our_action_step` step
- name: Get the output result
run: echo "The result was ${{ steps.failingRhymes.outputs.result }}"
exit 1

0 comments on commit fab93d5

Please sign in to comment.