|
1 |
| -name: Devnet tests |
| 1 | +# name: Devnet tests |
2 | 2 |
|
3 |
| -on: |
4 |
| - workflow_dispatch: |
5 |
| - inputs: |
6 |
| - providerUrl: |
7 |
| - description: Provider URL (e.g. https://devnet.fuel.network/v1/graphql) |
8 |
| - required: false |
9 |
| - masterMnemonic: |
10 |
| - description: Mnemonic of the wallet that will fund the tests |
11 |
| - required: false |
12 |
| - push: |
13 |
| - branches: |
14 |
| - - main |
15 |
| - pull_request: |
16 |
| - branches: [main, master, sdk-v2] |
17 |
| - types: [opened, synchronize, reopened] |
| 3 | +# on: |
| 4 | +# workflow_dispatch: |
| 5 | +# inputs: |
| 6 | +# providerUrl: |
| 7 | +# description: Provider URL (e.g. https://devnet.fuel.network/v1/graphql) |
| 8 | +# required: false |
| 9 | +# masterMnemonic: |
| 10 | +# description: Mnemonic of the wallet that will fund the tests |
| 11 | +# required: false |
| 12 | +# push: |
| 13 | +# branches: |
| 14 | +# - main |
| 15 | +# pull_request: |
| 16 | +# branches: [main, master, sdk-v2] |
| 17 | +# types: [opened, synchronize, reopened] |
18 | 18 |
|
19 |
| -concurrency: |
20 |
| - group: ${{ github.workflow }}-${{ github.ref }} |
21 |
| - cancel-in-progress: true |
| 19 | +# concurrency: |
| 20 | +# group: ${{ github.workflow }}-${{ github.ref }} |
| 21 | +# cancel-in-progress: true |
22 | 22 |
|
23 |
| -jobs: |
24 |
| - tests-e2e-contracts: |
25 |
| - name: E2E Contract Tests |
26 |
| - runs-on: buildjet-4vcpu-ubuntu-2204 |
27 |
| - steps: |
28 |
| - - uses: actions/checkout@v3 |
29 |
| - - uses: FuelLabs/github-actions/setups/node@master |
30 |
| - with: |
31 |
| - node-version: 18.18.0 |
32 |
| - pnpm-version: 8.15.7 |
33 |
| - - uses: FuelLabs/github-actions/setups/docker@master |
34 |
| - with: |
35 |
| - username: ${{ github.repository_owner }} |
36 |
| - password: ${{ secrets.GITHUB_TOKEN }} |
| 23 | +# jobs: |
| 24 | +# tests-e2e-contracts: |
| 25 | +# name: E2E Contract Tests |
| 26 | +# runs-on: buildjet-4vcpu-ubuntu-2204 |
| 27 | +# steps: |
| 28 | +# - uses: actions/checkout@v3 |
| 29 | +# - uses: FuelLabs/github-actions/setups/node@master |
| 30 | +# with: |
| 31 | +# node-version: 18.18.0 |
| 32 | +# pnpm-version: 8.15.7 |
| 33 | +# - uses: FuelLabs/github-actions/setups/docker@master |
| 34 | +# with: |
| 35 | +# username: ${{ github.repository_owner }} |
| 36 | +# password: ${{ secrets.GITHUB_TOKEN }} |
37 | 37 |
|
38 |
| - - name: Run PNPM install |
39 |
| - id: pnpm-cache |
40 |
| - run: |
41 |
| - pnpm recursive install --frozen-lockfile |
| 38 | +# - name: Run PNPM install |
| 39 | +# id: pnpm-cache |
| 40 | +# run: |
| 41 | +# pnpm recursive install --frozen-lockfile |
42 | 42 |
|
43 |
| - - name: Start Test Node |
44 |
| - run: pnpm node:up |
| 43 | +# - name: Start Test Node |
| 44 | +# run: pnpm node:up |
45 | 45 |
|
46 |
| - - name: Generate .env app |
47 |
| - run: cp packages/app/.env.example.testnet packages/app/.env |
| 46 | +# - name: Generate .env app |
| 47 | +# run: cp packages/app/.env.example.testnet packages/app/.env |
48 | 48 |
|
49 |
| - - name: Generate .env e2e-contracts |
50 |
| - run: cp packages/e2e-contract-tests/.env.example.testnet packages/e2e-contract-tests/.env |
| 49 | +# - name: Generate .env e2e-contracts |
| 50 | +# run: cp packages/e2e-contract-tests/.env.example.testnet packages/e2e-contract-tests/.env |
51 | 51 |
|
52 |
| - - name: Build Application |
53 |
| - run: pnpm build:all |
54 |
| - env: |
55 |
| - ## increase node.js m memory limit for building |
56 |
| - ## with sourcemaps |
57 |
| - NODE_OPTIONS: "--max-old-space-size=4096" |
58 |
| - NODE_ENV: test |
| 52 | +# - name: Build Application |
| 53 | +# run: pnpm build:all |
| 54 | +# env: |
| 55 | +# ## increase node.js m memory limit for building |
| 56 | +# ## with sourcemaps |
| 57 | +# NODE_OPTIONS: "--max-old-space-size=4096" |
| 58 | +# NODE_ENV: test |
59 | 59 |
|
60 |
| - - name: Build & Deploy Contracts |
61 |
| - run: pnpm deploy:contracts |
62 |
| - working-directory: ./packages/e2e-contract-tests |
| 60 | +# - name: Build & Deploy Contracts |
| 61 | +# run: pnpm deploy:contracts |
| 62 | +# working-directory: ./packages/e2e-contract-tests |
63 | 63 |
|
64 |
| - # E2E tests running with Playwright |
65 |
| - - name: Install Playwright Browsers |
66 |
| - run: npx playwright install --with-deps chromium |
| 64 | +# # E2E tests running with Playwright |
| 65 | +# - name: Install Playwright Browsers |
| 66 | +# run: npx playwright install --with-deps chromium |
67 | 67 |
|
68 |
| - - name: Run E2E Contract Tests |
69 |
| - run: xvfb-run --auto-servernum -- pnpm test:e2e:contracts |
70 |
| - env: |
71 |
| - NODE_ENV: test |
72 |
| - VITE_MASTER_WALLET_MNEMONIC: ${{ secrets.VITE_MASTER_WALLET_MNEMONIC }} |
73 |
| - VITE_PROVIDER_URL: ${{ inputs.providerUrl || 'https://devnet.fuel.network/v1/graphql' }} |
| 68 | +# - name: Run E2E Contract Tests |
| 69 | +# run: xvfb-run --auto-servernum -- pnpm test:e2e:contracts |
| 70 | +# env: |
| 71 | +# NODE_ENV: test |
| 72 | +# VITE_MASTER_WALLET_MNEMONIC: ${{ secrets.VITE_MASTER_WALLET_MNEMONIC }} |
| 73 | +# VITE_PROVIDER_URL: ${{ inputs.providerUrl || 'https://devnet.fuel.network/v1/graphql' }} |
74 | 74 |
|
75 |
| - - uses: actions/upload-artifact@v4 |
76 |
| - if: always() |
77 |
| - with: |
78 |
| - name: playwright-report |
79 |
| - path: | |
80 |
| - packages/app/playwright-report/ |
81 |
| - packages/app/playwright-html/ |
82 |
| - retention-days: 30 |
| 75 | +# - uses: actions/upload-artifact@v4 |
| 76 | +# if: always() |
| 77 | +# with: |
| 78 | +# name: playwright-report |
| 79 | +# path: | |
| 80 | +# packages/app/playwright-report/ |
| 81 | +# packages/app/playwright-html/ |
| 82 | +# retention-days: 30 |
83 | 83 |
|
84 |
| - - name: Stop Test Node |
85 |
| - run: pnpm node:clean |
| 84 | +# - name: Stop Test Node |
| 85 | +# run: pnpm node:clean |
86 | 86 |
|
0 commit comments