add RunAfterTimeout & RunOnInterval (#75) #546
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: Framework Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '**' # Runs on any pull request to any branch | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' # Specify the Go version you need | |
- name: Install dependencies | |
run: cd ./framework && go mod download | |
- name: Run Go tests | |
run: cd ./framework && go test ./... -coverprofile=coverage.txt | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |