Skip to content
Open
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
17 changes: 0 additions & 17 deletions .github/workflows/ci-go-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,5 @@ jobs:
go-version: 1.25.0
cache-dependency-path: go.sum

- name: Set up Dgraph
if: matrix.os == 'linux'
run: |
docker run -d --name dgraph-standalone -p 9080:9080 -p 8080:8080 dgraph/standalone:latest
echo "Waiting for Dgraph to be ready..."
for i in {1..30}; do
if curl -s http://localhost:8080/health > /dev/null; then
echo "Dgraph is ready!"
break
fi
echo "Attempt $i: Dgraph not ready, waiting..."
sleep 2
done
sleep 5

- name: Run Unit Tests
env:
MODUSGRAPH_TEST_ADDR: ${{ matrix.os == 'linux' && 'localhost:9080' || '' }}
run: go test -short -race -v .
Loading