Skip to content

Commit

Permalink
iterating
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Dec 18, 2024
1 parent 7da2e43 commit 91aad8e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:
id: gha-extract-shell-scripts
- name: Test extracted
run: |
find . # Debug working directory content
output="$(cat "workflow_scripts/integration-tests.yaml/job=${{ github.job }}/step=Test_extracted.sh")"
output="$(cat "workflow_scripts/${{ env.workflow_file }}/job=Test/step=Test_extracted.sh")"
[[ "${output}" == "${expected}" ]] || exit 1
env:
expected: |
#!/usr/bin/bash
set -e
# ---
find . # Debug working directory content
output="$(cat "workflow_scripts/integration-tests.yaml/job=:github.job:/step=Test_extracted.sh")"
output="$(cat "workflow_scripts/:env.workflow_file:/job=Test/step=Test_extracted.sh")"
[[ "${output}" == "${expected}" ]] || exit 1
workflow_file: integration-tests.yaml

0 comments on commit 91aad8e

Please sign in to comment.