initial commit for new client #1213
This file contains hidden or 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: Go Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| platform: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: "go.mod" | |
| cache: true | |
| - name: Download dependencies | |
| run: go mod download | |
| - name: Run Go tests | |
| run: | | |
| go test -v -timeout 5m ./... | |
| shell: bash | |
| env: | |
| HOTSTUFF_LOG: info | |
| - name: Run docker tests | |
| if: runner.os == 'Linux' | |
| run: | | |
| cd scripts | |
| bash deploy_test.sh |