-
Notifications
You must be signed in to change notification settings - Fork 439
47 lines (40 loc) · 1.34 KB
/
tests-devnet.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Devnet tests
on:
workflow_dispatch:
inputs:
masterMnemonic:
description: Mnemonic of the wallet that will fund the tests
required: false
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests-e2e-contracts:
name: E2E Contract Tests - Devnet
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 20.11.0
pnpm-version: 9.5.0
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run PNPM install
id: pnpm-cache
run:
pnpm recursive install --frozen-lockfile
- 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: Run E2E Contract Tests - Devnet
uses: ./.github/actions/e2e-tests-contracts
with:
providerUrl: "https://devnet.fuel.network/v1/graphql"
masterMnemonic: ${{ inputs.masterMnemonic || secrets.VITE_MASTER_WALLET_MNEMONIC }}