Skip to content

Commit

Permalink
chore: add skipDeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight committed Jun 17, 2024
1 parent 217c477 commit 3af2734
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 87 deletions.
2 changes: 1 addition & 1 deletion .github/actions/e2e-tests-contracts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:

- name: Build & Deploy Contracts
shell: bash
# if: !inputs.packages
if: !inputs.skipDeploy
run: pnpm deploy:contracts
working-directory: ./packages/e2e-contract-tests

Expand Down
86 changes: 0 additions & 86 deletions .github/workflows/testnet-tests.yaml

This file was deleted.

File renamed without changes.
35 changes: 35 additions & 0 deletions .github/workflows/tests-testnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Testnet tests

on:
workflow_dispatch:
inputs:
providerUrl:
description: Provider URL (e.g. https://testnet.fuel.network/v1/graphql)
required: false
masterMnemonic:
description: Mnemonic of the wallet that will fund the tests
required: false
push:
branches:
- main
pull_request:
branches: [main, master, sdk-v2]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
tests-e2e-contracts:
name: E2E Contract Tests - Local
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- name: Run E2E Contract Tests
uses: ./.github/actions/e2e-tests-contracts
with:
ghToken: ${{ secrets.GITHUB_TOKEN }}
providerUrl: "https://testnet.fuel.network/v1/graphql"
masterMnemonic: ${{ secrets.VITE_MASTER_WALLET_MNEMONIC }}
skipDeploy: true

0 comments on commit 3af2734

Please sign in to comment.