Skip to content

Commit

Permalink
migrate to github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmarin committed Jan 31, 2023
1 parent 8261f72 commit f1e4fe9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,14 @@ jobs:
- name: Test
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: |
# mkdir -p /home/runner/go/bin && export PATH=$PATH:/tmp:/home/runner/go/bin;
export PATH=$PATH:/tmp;
cc-test-reporter before-build;
task test;
cc-test-reporter after-build -t gocov --exit-code $? -p github.com/antonmarin/secret-yaml;
# goveralls -coverprofile=c.out -service=github -repotoken $COVERALLS_TOKEN;
- name: Report coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go install github.com/mattn/goveralls@latest;
goveralls -coverprofile=c.out -service=github;
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# flag-name: Unit
# path-to-lcov: c.out

0 comments on commit f1e4fe9

Please sign in to comment.