Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
services:
trinity-node-1:
image: trinity-rft:latest-unittest
user: "${UID}:${GID}"
pull_policy: never
command: sh -c "pip install -e .[dev] && ray start --head --dashboard-host 0.0.0.0 --include-dashboard true --block"
environment:
Expand All @@ -27,7 +26,6 @@ services:

trinity-node-2:
image: trinity-rft:latest-unittest
user: "${UID}:${GID}"
pull_policy: never
command: sh -c "pip install -e .[dev] && ray start --address=trinity-node-1:6379 --block"
environment:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,18 @@ jobs:
- name: Setup docker compose
working-directory: trinity-${{ github.run_id }}/.github/workflows/docker
run: |
export UID
export GID=$(id -g)
docker compose up -d
sleep 15s

- name: Check ray status
working-directory: trinity-${{ github.run_id }}/.github/workflows/docker
run: |
export UID
export GID=$(id -g)
docker compose exec trinity-node-1 ray status
docker compose exec trinity-node-2 ray status

- name: Run unittest
working-directory: trinity-${{ github.run_id }}/.github/workflows/docker
run: |
export UID
export GID=$(id -g)
docker compose exec trinity-node-1 pytest tests --ignore=tests/data --ctrf report.json
continue-on-error: true

Expand All @@ -64,8 +58,6 @@ jobs:
working-directory: trinity-${{ github.run_id }}/.github/workflows/docker
if: always()
run: |
export UID
export GID=$(id -g)
docker compose down --remove-orphans

- name: Cleanup workspace
Expand Down