Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 2 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,11 @@ jobs:
- uses: actions/checkout@master
- name: tidy
run: make tidy
codecov:
# golandci-lint need to be run before codecov and succeed
needs: [tidy]
name: Code Coverage
if: github.repository == 'meshery/meshery-consul'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.23.x
cache: true
cache-dependency-path: go.sum
- name: Run unit tests
run: go test --short ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
if: github.repository == 'meshery/meshery-consul'
uses: codecov/[email protected]
with:
files: ./coverage.txt
flags: unittests

build:
name: Build check
runs-on: ubuntu-latest
needs: [codecov]
needs: [tidy]
steps:
- name: Check out code
uses: actions/checkout@master
Expand Down
Loading