Skip to content

Commit

Permalink
RF-31415 Add integration test checking that the created run's source …
Browse files Browse the repository at this point in the history
…is properly set
  • Loading branch information
magni- committed Nov 16, 2023
1 parent 38c5880 commit 8c6c72c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rainforest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ jobs:
with:
token: ${{ secrets.RF_MAIN_API_TOKEN }}
run_group_id: 9861
- name: Get run source
id: get_run_source
run: |
source=$(curl -s -X GET "https://app.rainforestqa.com/api/1/runs/$(cat .rainforest_run_id)?slim=true" | jq -r ".source")
echo "source=$source" >> "$GITHUB_OUTPUT"
- name: Test run source
uses: ./.github/actions/test
with:
actual: ${{ steps.get_run_source.outputs.source }}
expected: rainforest-gh-action

0 comments on commit 8c6c72c

Please sign in to comment.