Skip to content

Commit

Permalink
Add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
arturogonzalezm committed Jul 29, 2024
1 parent 091f75a commit 2f9e53f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ on:
branches: [ main ]

jobs:

test:
name: Test and coverage
runs-on: ubuntu-latest
steps:

- name: Check out code
uses: actions/checkout@v4

Expand All @@ -28,6 +26,13 @@ jobs:
go mod download
go mod tidy
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.2
- name: Run golangci-lint
run: golangci-lint run

- name: Run tests with coverage
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...

Expand All @@ -39,4 +44,4 @@ jobs:
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true
verbose: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![codecov](https://codecov.io/gh/arturogonzalezm/RealTimeBinanceMonitor/graph/badge.svg?token=I4cOxsac0y)](https://codecov.io/gh/arturogonzalezm/RealTimeBinanceMonitor)
![Go Test and Coverage](https://github.com/arturogonzalezm/myrepo/actions/workflows/workflow.yml/badge.svg)

# RealTimeBinanceMonitor

Expand Down

0 comments on commit 2f9e53f

Please sign in to comment.