Implemented integration test for double-pole balancing experiment wit… #112
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21 | |
- name: Build | |
run: go build -v ./... | |
env: | |
GO111MODULE: on | |
- name: Run Tests | |
run: go test -coverprofile=coverage.txt -covermode=atomic -timeout 40m -v ./... | |
env: | |
GO111MODULE: on | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.txt | |
flags: unittests | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |