Merge pull request #199 from InjectiveLabs/dev #10
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
name: run-tests | |
on: | |
pull_request: | |
push: | |
branches: [ master, dev ] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
- name: Run test and calculate coverage | |
run: make coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |