mstruebing / tldr

Golang command line client for tldr https://github.com/tldr-pages/tldr
MIT License
262 stars 24 forks source link

Use Github Actions #60

Closed mstruebing closed 11 months ago

mstruebing commented 11 months ago

There is travis configured currently which is not running since quite a while. We should migrate to Github actions.

AlexNDRmac commented 11 months ago

Hi @mstruebing I can help with this migration

mstruebing commented 11 months ago

@AlexNDRmac I've assigned you that issue 🙌

AlexNDRmac commented 11 months ago

@mstruebing can you look at this and point me what's wrong with tests?

make test
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
--- FAIL: TestRender (0.00s)
    render_test.go:17: Expected to render existing page successfully
    render_test.go:21: Expected the length of the rendered string to be not empty
--- FAIL: TestWrite (0.00s)
    render_test.go:32: Expected to write successfully
FAIL
coverage: 55.6% of statements
FAIL    github.com/mstruebing/tldr  0.013s
FAIL
make: *** [Makefile:59: test] Error 1
Error: Process completed with exit code 2
mstruebing commented 11 months ago

@AlexNDRmac should be fixed by @64