File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 11services :
22 trinity-node-1 :
33 image : trinity-rft:latest-unittest
4- user : " ${UID}:${GID}"
54 pull_policy : never
65 command : sh -c "pip install -e .[dev] && ray start --head --dashboard-host 0.0.0.0 --include-dashboard true --block"
76 environment :
@@ -27,7 +26,6 @@ services:
2726
2827 trinity-node-2 :
2928 image : trinity-rft:latest-unittest
30- user : " ${UID}:${GID}"
3129 pull_policy : never
3230 command : sh -c "pip install -e .[dev] && ray start --address=trinity-node-1:6379 --block"
3331 environment :
Original file line number Diff line number Diff line change @@ -24,24 +24,18 @@ jobs:
2424 - name : Setup docker compose
2525 working-directory : trinity-${{ github.run_id }}/.github/workflows/docker
2626 run : |
27- export UID
28- export GID=$(id -g)
2927 docker compose up -d
3028 sleep 15s
3129
3230 - name : Check ray status
3331 working-directory : trinity-${{ github.run_id }}/.github/workflows/docker
3432 run : |
35- export UID
36- export GID=$(id -g)
3733 docker compose exec trinity-node-1 ray status
3834 docker compose exec trinity-node-2 ray status
3935
4036 - name : Run unittest
4137 working-directory : trinity-${{ github.run_id }}/.github/workflows/docker
4238 run : |
43- export UID
44- export GID=$(id -g)
4539 docker compose exec trinity-node-1 pytest tests --ignore=tests/data --ctrf report.json
4640 continue-on-error : true
4741
6458 working-directory : trinity-${{ github.run_id }}/.github/workflows/docker
6559 if : always()
6660 run : |
67- export UID
68- export GID=$(id -g)
6961 docker compose down --remove-orphans
7062
7163 - name : Cleanup workspace
You can’t perform that action at this time.
0 commit comments