File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -107,3 +107,38 @@ jobs:
107107 go clean -testcache
108108 # sleep
109109 sleep 5
110+
111+ dgraph-upgrade-tests-core :
112+ runs-on : blacksmith-16vcpu-ubuntu-2404
113+ timeout-minutes : 60
114+ steps :
115+ - uses : actions/checkout@v5
116+ with :
117+ fetch-depth : 0
118+ - name : Set up Go
119+ uses : actions/setup-go@v6
120+ with :
121+ go-version-file : go.mod
122+ - name : Make Linux Build and Docker Image
123+ run : make docker-image
124+ - name : Clean Up Environment
125+ run : |
126+ #!/bin/bash
127+ # clean cache
128+ go clean -testcache
129+ - name : Run Core Upgrade Tests
130+ run : |
131+ #!/bin/bash
132+ # go env settings
133+ export GOPATH=~/go
134+ # move the binary
135+ cp dgraph/dgraph ~/go/bin/dgraph
136+ # run the core upgrade tests
137+ go test -v -timeout=120m -failfast -tags=upgrade \
138+ github.com/hypermodeinc/dgraph/v25/acl \
139+ github.com/hypermodeinc/dgraph/v25/worker \
140+ github.com/hypermodeinc/dgraph/v25/query
141+ # clean up docker containers after test execution
142+ go clean -testcache
143+ # sleep
144+ sleep 5
You can’t perform that action at this time.
0 commit comments