generated from dymensionxyz/rollapp
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add job to CI to run tests (#450)
Co-authored-by: ducnt131 <[email protected]>
- Loading branch information
1 parent
c2c33df
commit f440f9b
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Run Unit Tests | ||
on: | ||
push: | ||
tags: | ||
- v* | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
GOPROXY: https://proxy.golang.org | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.23" | ||
- name: Test & Coverage | ||
run: | | ||
go install github.com/ory/[email protected] | ||
go-acc -o coverage.txt ./... -- -v --race | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
file: ./coverage.txt |