Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix arm workflows + minor CI cleanup #8436

Merged
merged 11 commits into from
Nov 18, 2022
17 changes: 4 additions & 13 deletions .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@ jobs:
make regenerate
git diff --exit-code -- .
- name: Make Docker Image
run: make image-local
- name: Make Linux Build
run: |
#!/bin/bash
# go settings
# make dgraph binary
make dgraph
run: make docker-image
- name: Clean Up Environment
run: |
#!/bin/bash
Expand All @@ -60,16 +54,13 @@ jobs:
- name: Run Unit Tests
run: |
#!/bin/bash
# clean cache
go clean -testcache
# go env settings
export GOPATH=~/go
# move the binary
cp dgraph/dgraph ~/go/bin
# build the test binary
cd t; go build .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the go build . is needed right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are calling it in the previous step (around line 50)

Copy link
Contributor

@adityasadalage adityasadalage Nov 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^+1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replicate to all yaml?

cp dgraph/dgraph ~/go/bin/dgraph
# run the tests
./t --skip systest/export, graphql
cd t
./t --skip="systest/export,systest/backup/minio,systest/backup/minio-large,graphql/e2e/normal,graphql/e2e/directives,graphql/e2e/custom_logic"
# clean up docker containers after test execution
./t -r
# sleep
Expand Down