Skip to content

Commit

Permalink
try that
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 30, 2024
1 parent 2240545 commit c8926e2
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,26 @@ jobs:
[[ ${{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_FEATURE_BRANCH_PR}} -eq false ]] && echo unexpected || echo good
[[ ${{env.IS_FEATURE_BRANCH_PR}} -eq "false" ]] && echo unexpected || echo good
[[ ${{env.IS_FEATURE_BRANCH_PR}} == false ]] && echo unexpected || echo good
[[ ${{env.IS_FEATURE_BRANCH_PR}} == "false" ]] && echo unexpected || echo good
[[ ${{env.IS_FEATURE_BRANCH_PR}} = false ]] && echo unexpected || echo good
[[ ${{env.IS_FEATURE_BRANCH_PR}} = "false" ]] && echo unexpected || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} -eq true ]] && echo unexpected || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} -eq "true" ]] && echounexpectedd || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} == true ]] && echo unexpected || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} == "true" ]] && echounexpectedd || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} = true ]] && echo unexpected || echo good
[[ ${{env.IS_RELEASE_BRANCH_PR}} = "true" ]] && echounexpectedd || echo good
shell: bash

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

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

- uses: actions/checkout@v4
Expand Down Expand Up @@ -159,12 +170,12 @@ jobs:
shell: bash -l {0}

- name: Start dfx
if: ${{ env.IS_FEATURE_BRANCH_PR }} == "true"
if: ${{ env.IS_FEATURE_BRANCH_PR }}
working-directory: ${{ matrix.tests.path }}
run: dfx start --clean --background --host 127.0.0.1:8000 --artificial-delay 0

- name: Start dfx with artifcial delay
if: ${{ env.IS_RELEASE_BRANCH_PR }} == "true"
if: ${{ env.IS_RELEASE_BRANCH_PR }}
working-directory: ${{ matrix.tests.path }}
run: dfx start --clean --background --host 127.0.0.1:8000

Expand Down

0 comments on commit c8926e2

Please sign in to comment.