This repository was archived by the owner on Jul 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +59
-39
lines changed Expand file tree Collapse file tree 2 files changed +59
-39
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ fluence-1 :
3+ image : ${RUST_PEER_IMAGE}
4+ ports :
5+ - 1210:1210
6+ - 4310:4310
7+ command :
8+ - -t=1210
9+ - -w=4310
10+ - --local
11+ - -k=gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj
12+ - --aqua-pool-size=2
Original file line number Diff line number Diff line change 11name : Run tests
22
3- defaults :
4- run :
5- working-directory : .
6-
73on :
8- push :
4+ push :
95
106jobs :
11- build :
12- runs-on : ubuntu-latest
13-
14- strategy :
15- matrix :
16- node-version : [16.x, 17.x]
17-
18- steps :
19- - uses : actions/checkout@v2
20-
21- - uses : pnpm/action-setup@v2.2.2
22- with :
23- version : 7
24-
25- - name : Setup Node.js ${{ matrix.node-version }}
26- uses : actions/setup-node@v1
27- with :
28- node-version : ${{ matrix.node-version }}
29- cache : ' pnpm'
30-
31- - name : Run container with Fluence node
32- run : |
33- docker pull fluencelabs/fluence
34- docker run -d --rm -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj --local --aqua-pool-size 2
35-
36- - name : Install deps
37- run : pnpm i
38-
39- - name : Run tests
40- run : |
41- pnpm -r build
42- pnpm -r test
43- env :
44- CI : true
7+ build :
8+ runs-on : ubuntu-latest
9+
10+ strategy :
11+ matrix :
12+ node-version : [16.x, 17.x]
13+
14+ env :
15+ RUST_PEER_IMAGE : fluencelabs/fluence
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - uses : pnpm/action-setup@v2.2.2
21+ with :
22+ version : 7
23+
24+ - name : Setup Node.js ${{ matrix.node-version }}
25+ uses : actions/setup-node@v1
26+ with :
27+ node-version : ${{ matrix.node-version }}
28+ cache : ' pnpm'
29+
30+ - name : Setup docker-compose
31+ uses : KengoTODA/actions-setup-docker-compose@v1.0.9
32+ with :
33+ version : ' v2.10.0'
34+
35+ - name : Pull image
36+ run : docker pull ${RUST_PEER_IMAGE}
37+
38+ - name : Run rust-peer
39+ uses : isbang/compose-action@v1.1.0
40+ with :
41+ compose-file : " .github/e2e/docker-compose.yml"
42+ down-flags : " --volumes"
43+
44+ - name : Install deps
45+ run : pnpm i
46+
47+ - name : Run tests
48+ run : |
49+ pnpm -r build
50+ pnpm -r test
51+ env :
52+ CI : true
You can’t perform that action at this time.
0 commit comments