mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:34:48 +07:00
test: mark TestToolsContainer
as failed if error occurs (#84)
* test: mark TestToolsContainer as failed if error occurs * add trangmaiq Co-authored-by: Trang Mai <tqmai@axon.com>
This commit is contained in:
parent
ea1d597b33
commit
710f6e9f98
@ -263,6 +263,7 @@ Big shout-out to them!
|
||||
- ![](https://github.com/eventi.png?size=24) [@eventi](https://github.com/eventi)
|
||||
- ![](https://github.com/Bourne-ID.png?size=24) [@Bourne-ID](https://github.com/Bourne-ID)
|
||||
- ![](https://github.com/akwan.png?size=24) [@akwan](https://github.com/akwan)
|
||||
- ![](https://github.com/trangmaiq.png?size=24) [@trangmaiq](https://github.com/trangmaiq)
|
||||
|
||||
If you feel you're missing from this list, feel free to add yourself in a PR.
|
||||
|
||||
|
@ -10,7 +10,10 @@ import (
|
||||
|
||||
func TestToolsContainer(t *testing.T) {
|
||||
image := "nixos/nix"
|
||||
projectRoot, _ := filepath.Abs("../")
|
||||
projectRoot, err := filepath.Abs("../")
|
||||
if err != nil {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
options := &docker.RunOptions{
|
||||
Remove: true,
|
||||
|
Loading…
Reference in New Issue
Block a user