GitHub Action for godacov, a command-line tool to publish test coverage reports generated with
go test
to Codacy.
steps:
uses: brpaz/godacov-action@v1
with:
reportPath: 'path/to/cover/file'
codacyToken: ${{ secrets.CODACY_TOKEN }}
commitId: ${{ github.sha }}
reportPath
Required The path to the report file generated by go test
. Default "cover.out"
.
codacyToken
Required The the token to authenticate into Codacy API.
commitId
Required The identifier for the commit. you can use ${{ github.sha }}
to get the current commit hash.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
๐ค Bruno Paz
- Website : https://github.com/brpaz
- Github: @brpaz
Copyright ยฉ 2020 Bruno Paz.
This project is MIT licensed.