Skip to content

Commit 2a4c994

Browse files
authored
Merge pull request #1422 from opentensor/add-evm-test-to-ci
add evm test to ci
2 parents 7a38b75 + f0f026a commit 2a4c994

13 files changed

+5621
-356
lines changed

Diff for: .github/workflows/evm-tests.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: EVM E2E Tests
2+
3+
on:
4+
pull_request:
5+
6+
## Allow running workflow manually from the Actions tab
7+
workflow_dispatch:
8+
inputs:
9+
verbose:
10+
description: "Output more information when triggered manually"
11+
required: false
12+
default: ""
13+
14+
env:
15+
CARGO_TERM_COLOR: always
16+
VERBOSE: ${{ github.events.input.verbose }}
17+
18+
jobs:
19+
run:
20+
runs-on: SubtensorCI
21+
env:
22+
RUST_BACKTRACE: full
23+
steps:
24+
- name: Check-out repository under $GITHUB_WORKSPACE
25+
uses: actions/checkout@v4
26+
27+
- name: Utilize Shared Rust Cache
28+
uses: Swatinem/rust-cache@v2
29+
30+
- name: Set up Node.js
31+
uses: actions/setup-node@v2
32+
with:
33+
node-version: "22"
34+
35+
- name: Install dependencies
36+
run: |
37+
sudo apt-get update &&
38+
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler nodejs
39+
40+
- name: Run tests
41+
working-directory: ${{ github.workspace }}
42+
run: |
43+
npm install --global yarn
44+
./evm-tests/run-ci.sh

Diff for: evm-tests/local.test.ts

-53
This file was deleted.

0 commit comments

Comments
 (0)