Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elivlo authored Aug 19, 2021
1 parent 32f3539 commit 0998c4b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
with:
go-version: 1.16

- name: Install goveralls
run: go install github.com/mattn/goveralls@latest

- name: Install nmap
run: sudo apt install -y nmap

Expand All @@ -24,7 +27,7 @@ jobs:
- name: Create coverage report
run: go tool cover -func=c.out

- name: Trigger Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Send coverage report
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=c.out -service=github

0 comments on commit 0998c4b

Please sign in to comment.