Skip to content

Commit

Permalink
fit integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmcd committed May 14, 2021
1 parent 47dff7a commit 4058a49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v2
- name: Run all tests
run: |
make ci_test
bash -c "make -j ci_test"
# for your debugging needs
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ build_setuid:
sudo chmod u+s,g+s ./bramble-setuid
rm -f $$(go env GOPATH)/bin/bramble-setuid || true
mv ./bramble-setuid $$(go env GOPATH)/bin
type bramble-setuid
1 change: 1 addition & 0 deletions bramble.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[URLHashes]
"http://tarballs.nixos.org/stdenv-linux/x86_64/c5aabb0d603e2c1ea05f5a93b3be82437f5ebf31/bootstrap-tools.tar.xz" = "a5ce9c155ed09397614646c9717fc7cd94b1023d7b76b618d409e4fefd6e9d39"
"https://brmbl.s3.amazonaws.com/busybox-x86_64.tar.gz" = "2ae410370b8e9113968ffa6e52f38eea7f17df5f436bd6a69cc41c6ca01541a1"
"https://brmbl.s3.amazonaws.com/file-links.tar.gz" = "22fadd82e935b2f081ba07ab9a9c7ce174d10c237cc95182c4ed14c8c276e06a"
"https://brmbl.s3.amazonaws.com/patchelf.tar.gz" = "67ee6623207754a18d81624d630d9addbf6234ab1e6c44ddba9179621720f960"
"https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz" = "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52"
"https://maxmcd.com/" = "c0c11d3923e78f8c103985e2035df7b146e9946bf7eabcd38d71459d94063a7a"
Expand Down
5 changes: 4 additions & 1 deletion pkg/bramble/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ func runBrambleRun(args []string) error {
if !strings.Contains(path, gobin) {
os.Setenv("PATH", path+":"+gobin)
}
b := Bramble{}
b, err := NewBramble(".", true)
if err != nil {
return err
}
return b.build(context.Background(), args)
}

Expand Down

0 comments on commit 4058a49

Please sign in to comment.