mirror of
https://github.com/lucacasonato/mqtt.git
synced 2025-09-26 19:01:12 +08:00
Update workflow
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
uses: actions/checkout@v1
|
||||
- name: Get dependencies
|
||||
run: go mod download
|
||||
- name: Run tests & coverage
|
||||
- name: Run tests
|
||||
run: go test -race
|
||||
coverage:
|
||||
name: Coverage
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
uses: actions/checkout@v1
|
||||
- name: Get dependencies
|
||||
run: go mod download
|
||||
- name: Run tests & coverage
|
||||
- name: Run coverage
|
||||
run: go test -coverprofile=coverage.txt -covermode=atomic
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1.0.3
|
||||
|
Reference in New Issue
Block a user