Skip to content

Commit 89ae89a

Browse files
Reorder steps for quicker grpc failures
1 parent b6e6640 commit 89ae89a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci-pydgraph-tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,6 @@ jobs:
3131
path: pydgraph
3232
repository: hypermodeinc/pydgraph
3333
ref: ${{ github.ref }}
34-
- name: Checkout Dgraph repo # needed for acl tests
35-
uses: actions/checkout@v4
36-
with:
37-
path: dgraph
38-
repository: hypermodeinc/dgraph
39-
ref: main
40-
- name: Set up Go
41-
uses: actions/setup-go@v5
42-
with:
43-
go-version-file: dgraph/go.mod
44-
- name: Build dgraph binary
45-
run: cd dgraph && make docker-image # also builds dgraph binary
46-
- name: Move dgraph binary to gopath
47-
run: cd dgraph && mv dgraph/dgraph ~/go/bin/dgraph
4834
- name: Set up Python ${{ matrix.python-version }}
4935
uses: actions/setup-python@v5
5036
with:
@@ -59,5 +45,19 @@ jobs:
5945
cd pydgraph
6046
python scripts/protogen.py
6147
git diff --exit-code -- .
48+
- name: Checkout Dgraph repo # needed for acl tests
49+
uses: actions/checkout@v4
50+
with:
51+
path: dgraph
52+
repository: hypermodeinc/dgraph
53+
ref: main
54+
- name: Set up Go
55+
uses: actions/setup-go@v5
56+
with:
57+
go-version-file: dgraph/go.mod
58+
- name: Build dgraph binary
59+
run: cd dgraph && make docker-image # also builds dgraph binary
60+
- name: Move dgraph binary to gopath
61+
run: cd dgraph && mv dgraph/dgraph ~/go/bin/dgraph
6262
- name: Run tests
6363
run: cd pydgraph && DGRAPH_IMAGE_TAG=local bash scripts/local-test.sh

0 commit comments

Comments
 (0)