Merge pull request #241 from ipfs/fix/238-non-converging #493
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: Go | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: Install depedencies | |
run: go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -timeout 20m -v -run "TestCRDT" -race -coverprofile=coverage.txt -covermode=atomic | |
- name: Staticcheck | |
run: staticcheck ./... | |
- name: Send coverage | |
run: bash <(curl -s https://codecov.io/bash) | |
suite: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: Test | |
run: go test -timeout 30m -v -run "TestDatastoreSuite" . |