Skip to content

Commit

Permalink
chore: revert to mess if's
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 committed Jun 24, 2024
1 parent 8a0b1e9 commit 5d9cc6f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
SHOULD_RUN_FULL_INTEGRATION: github.ref_name == 'master' || github.head_ref == 'changesets-release/master'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -61,13 +59,13 @@ jobs:
- name: Test Setup
uses: ./.github/actions/test-setup
with:
should-install-bun: env.SHOULD_RUN_FULL_INTEGRATION
should-install-bun: github.ref_name == 'master' || github.head_ref == 'changesets-release/master'

- name: Run UI tests (on template)
run: sh ./scripts/tests-ui.sh

- name: Wait for release to succeed
if: env.SHOULD_RUN_FULL_INTEGRATION
if: github.ref_name == 'master' || github.head_ref == 'changesets-release/master'
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
Expand All @@ -76,13 +74,13 @@ jobs:
wait-interval: 30

- name: Run tests (with published version)
if: env.SHOULD_RUN_FULL_INTEGRATION
if: github.ref_name == 'master' || github.head_ref == 'changesets-release/master'
run: pnpm test:integration
env:
PUBLISHED_NPM_VERSION: next

- name: Run UI tests (with published version)
if: env.SHOULD_RUN_FULL_INTEGRATION
if: github.ref_name == 'master' || github.head_ref == 'changesets-release/master'
run: sh ./scripts/create-fuels-template-integration.sh
env:
PUBLISHED_NPM_VERSION: next
Expand Down

0 comments on commit 5d9cc6f

Please sign in to comment.