Skip to content

Commit

Permalink
this debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 30, 2024
1 parent 22d2760 commit 2240545
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,32 @@ jobs:
steps:
- name: Report full path of test
# Just in case the path isn't obvious from the name, this will remove ambiguity
run: echo ${{matrix.tests.path}}
run: |
echo ${{matrix.tests.path}}
echo ${{env.IS_FEATURE_BRANCH_PR}}
echo ${{env.IS_RELEASE_BRANCH_PR}}
[[ ${{env.IS_FEATURE_BRANCH_PR}} -eq true ]] && echo good || echo unexpected
[[ ${{env.IS_FEATURE_BRANCH_PR}} -eq "true" ]] && echo good || echo unexpected
[[ ${{env.IS_FEATURE_BRANCH_PR}} == true ]] && echo good || echo unexpected
[[ ${{env.IS_FEATURE_BRANCH_PR}} == "true" ]] && echo good || echo unexpected
[[ ${{env.IS_FEATURE_BRANCH_PR}} = true ]] && echo good || echo unexpected
[[ ${{env.IS_FEATURE_BRANCH_PR}} = "true" ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} -eq false ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} -eq "false" ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} == false ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} == "false" ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} = false ]] && echo good || echo unexpected
[[ ${{env.IS_RELEASE_BRANCH_PR}} = "false" ]] && echo good || echo unexpected
- name: Is feature branch
if: ${{ env.IS_FEATURE_BRANCH_PR }} == "true"
working-directory: ${{ matrix.tests.path }}
run: echo "It's a feature branch"

- name: Is a release branch
if: ${{ env.IS_RELEASE_BRANCH_PR }} == "true"
working-directory: ${{ matrix.tests.path }}
run: echo "It's a release branch"

- uses: actions/checkout@v4

Expand Down

0 comments on commit 2240545

Please sign in to comment.