diff --git a/.github/workflows/docker/docker-compose.yaml b/.github/workflows/docker/docker-compose.yaml index 56f1592eb6..e04a722aeb 100644 --- a/.github/workflows/docker/docker-compose.yaml +++ b/.github/workflows/docker/docker-compose.yaml @@ -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: @@ -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: diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml index 48fe4b76b8..540d928627 100644 --- a/.github/workflows/unittest.yaml +++ b/.github/workflows/unittest.yaml @@ -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 @@ -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