test: add GitHub action for end-to-end tests (#5452)

Partial fix for #5291.
This commit is contained in:
Erik Grinaker
2020-10-05 12:44:35 +02:00
committed by GitHub
parent 090afe30f9
commit 7e27e9b852
4 changed files with 50 additions and 2 deletions
+8
View File
@@ -167,6 +167,14 @@ func NewCLI() *CLI {
cli.root.AddCommand(&cobra.Command{
Use: "logs",
Short: "Shows the testnet logs",
RunE: func(cmd *cobra.Command, args []string) error {
return execComposeVerbose(cli.testnet.Dir, "logs")
},
})
cli.root.AddCommand(&cobra.Command{
Use: "tail",
Short: "Tails the testnet logs",
RunE: func(cmd *cobra.Command, args []string) error {
return execComposeVerbose(cli.testnet.Dir, "logs", "--follow")
},