Bump google.golang.org/grpc from 1.68.0 to 1.68.1 in the minor-and-pa… #820
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-dgo-tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
branches: | |
- master | |
schedule: | |
- cron: "0 0 * * *" # run workflow daily | |
jobs: | |
dgo-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Dgraph repo | |
uses: actions/checkout@v4 | |
with: | |
path: dgraph | |
repository: dgraph-io/dgraph | |
ref: main | |
- name: Checkout Dgo repo | |
uses: actions/checkout@v4 | |
with: | |
path: dgo | |
repository: dgraph-io/dgo | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: dgo/go.mod | |
- name: Make Linux Build and Docker Image | |
run: cd dgraph && make docker-image | |
- name: Move dgraph binary to gopath | |
run: cd dgraph && mv dgraph/dgraph ~/go/bin/dgraph | |
- name: Clean Up Test Cache | |
run: go clean -testcache | |
- name: Run dgo client tests | |
run: | | |
#!/bin/bash | |
cd dgo | |
# go env settings | |
export GOPATH=~/go | |
docker compose -f t/docker-compose.yml up -d | |
echo "Waiting for cluster to be healthy..." | |
sleep 20 | |
echo "Running dgo tests..." | |
go test -v ./... | |
docker compose -f t/docker-compose.yml down |