Skip to content

Change a couple of cache hit rate to float type, to avoid unmarshal errors #28

Change a couple of cache hit rate to float type, to avoid unmarshal errors

Change a couple of cache hit rate to float type, to avoid unmarshal errors #28

Workflow file for this run

name: Go Test
on: [ push, pull_request ]
jobs:
unit:
name: Unit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20.x"
- name: Install FoundationDB Client C bindings
env:
FDB_VERSION: '7.3.7'
FDB_CLIENTS_DEB_SHA256_SUM: '1b620971319c3ad149f2fb09b2fed639fb558120a296538133c4f2358836e983'
shell: bash
run: |
wget "https://github.com/apple/foundationdb/releases/download/${FDB_VERSION}/foundationdb-clients_${FDB_VERSION}-1_amd64.deb"
echo "${FDB_CLIENTS_DEB_SHA256_SUM} foundationdb-clients_${FDB_VERSION}-1_amd64.deb" | sha256sum --check
sudo dpkg --force-all -i foundationdb-clients_${FDB_VERSION}-1_amd64.deb
- name: Go information
run: |
go version
go env
- name: Run tests
run: go test -v -shuffle=on ./...
- name: Run tests with race detector
run: go test -v -race ./...