Migrate from Travis/Appveyor combo to GitHub actions (#104)

* Add a github actions workflow config (linux + windows build)
* Remove Travis config, migrated to Github Actions
* Remove AppVeyor configs, migrated to Github Actions
This commit is contained in:
Sebastian Zagrodzki
2021-11-02 09:18:09 +01:00
committed by GitHub
parent 0ce3a07f8e
commit d3bdbe53c8
7 changed files with 40 additions and 72 deletions

4
.github/test-coverage.sh vendored Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
echo 'mode: count' > coverage.merged &&\
go list -f '{{.Dir}}' ./... | xargs -n1 -I'{}' sh -c ': > coverage.tmp; go test -v -covermode=count -coverprofile=coverage.tmp {} && tail -n +2 coverage.tmp >> coverage.merged' &&\
rm coverage.tmp