Skip to content

Commit

Permalink
Merge branch '4.x' into 7379-upgrade-geth
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex authored Dec 2, 2024
2 parents f19b6ec + 926044b commit d4243eb
Show file tree
Hide file tree
Showing 117 changed files with 1,803 additions and 1,310 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/black_box_tests.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
name: 'Black Box Tests'
on:
push:
branches:
- release/**
tags:
- v4.*
branches:
- release/**
tags:
- v4.*

jobs:
build:
strategy:
matrix:
node: [18]
name: Build Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: yarn
- run: tar -czf /tmp/web3-${{ matrix.node }}.js.tar.gz --exclude="./.git" ./
- uses: actions/upload-artifact@v3
with:
name: web3-${{ matrix.node }}.js.tar.gz
path: /tmp/web3-${{ matrix.node }}.js.tar.gz
black-box:
name: Black Box
needs: build
runs-on: ubuntu-latest
env:
INFURA_MAINNET_HTTP: ${{ secrets.INFURA_MAINNET_HTTP }}
INFURA_MAINNET_WS: ${{ secrets.INFURA_MAINNET_WS }}
INFURA_SEPOLIA_WS: ${{ secrets.INFURA_SEPOLIA_WS }}
MODE: ${{ matrix.mode }}
strategy:
fail-fast: false
matrix:
node: [18]
mode: ['http', 'ws']
backend: ['geth', 'infura']
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: actions/download-artifact@v3
with:
name: web3-${{ matrix.node }}.js.tar.gz
path: /tmp
- run: tar -xf /tmp/web3-${{ matrix.node }}.js.tar.gz -C ./
- run: |
yarn test:blackbox:${{ matrix.backend }}:${{ matrix.mode }}
shell: bash
build:
strategy:
matrix:
node: [18]
name: Build Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: yarn
- run: tar -czf /tmp/web3-${{ matrix.node }}.js.tar.gz --exclude="./.git" ./
- uses: actions/upload-artifact@v4
with:
name: web3-${{ matrix.node }}.js.tar.gz
path: /tmp/web3-${{ matrix.node }}.js.tar.gz
black-box:
name: Black Box
needs: build
runs-on: ubuntu-latest
env:
INFURA_MAINNET_HTTP: ${{ secrets.INFURA_MAINNET_HTTP }}
INFURA_MAINNET_WS: ${{ secrets.INFURA_MAINNET_WS }}
INFURA_SEPOLIA_WS: ${{ secrets.INFURA_SEPOLIA_WS }}
MODE: ${{ matrix.mode }}
strategy:
fail-fast: false
matrix:
node: [18]
mode: ['http', 'ws']
backend: ['geth', 'infura']
steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: actions/download-artifact@v4
with:
name: web3-${{ matrix.node }}.js.tar.gz
path: /tmp
- run: tar -xf /tmp/web3-${{ matrix.node }}.js.tar.gz -C ./
- run: |
yarn test:blackbox:${{ matrix.backend }}:${{ matrix.mode }}
shell: bash
Loading

0 comments on commit d4243eb

Please sign in to comment.