Skip to content

Commit

Permalink
fix: e2e-contract-test (#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight authored Jul 2, 2024
1 parent 2186aad commit abbc1aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .github/actions/e2e-tests-contracts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ runs:
shell: bash
run: xvfb-run --auto-servernum -- pnpm test:e2e:contracts
env:
PORT: 5173
VITE_FUEL_PROVIDER_URL: ${{ inputs.providerUrl }}
VITE_MASTER_WALLET_MNEMONIC: ${{ inputs.masterMnemonic }}
VITE_WALLET_SECRET: ${{ inputs.genesisSecret }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,13 @@ jobs:
- name: Generate .env app
run: cp packages/app/.env.example packages/app/.env

- name: Generate .env e2e-contracts
run: cp packages/e2e-contract-tests/.env.example packages/e2e-contract-tests/.env

- name: Build & Deploy Contracts
run: pnpm deploy:contracts
working-directory: ./packages/e2e-contract-tests

- name: Run E2E Contract Tests - Local
uses: ./.github/actions/e2e-tests-contracts
with:
ghToken: ${{ secrets.GITHUB_TOKEN }}
providerUrl: "http://localhost:4000/v1/graphql"
masterMnemonic: ${{ secrets.VITE_MASTER_WALLET_MNEMONIC }}
genesisSecret: "0xa449b1ffee0e2205fa924c6740cc48b3b473aa28587df6dab12abc245d1f5298"

0 comments on commit abbc1aa

Please sign in to comment.