Merge pull request #231 from kmdrn7/configurable-ristretto-sync-write #255
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: Test | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
test_lib: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go_version: [ '1.18', '1.19' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go_version }} | |
- name: Run library go tests | |
run: cd lib; go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./... | |
test_stores: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go_version: [ '1.18', '1.19' ] | |
store: | |
- bigcache | |
- freecache | |
- go_cache | |
- hazelcast | |
- memcache | |
- pegasus | |
- redis | |
- rediscluster | |
- ristretto | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go_version }} | |
- name: Run stores go tests | |
run: cd store/${{ matrix.store }}; go test -v -race ./... |