Match Redis return value for BITOP AND command with empty result #101
Workflow file for this run
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: Test suite | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/setup-go@v2 | |
| with: | |
| go-version: '^1.0.0' | |
| - uses: actions/checkout@v4 | |
| - name: Get dependencies | |
| run: go mod download | |
| - name: Run tests (without redis) | |
| run: go test -timeout=3m -race ./... | |
| - name: Install redis | |
| run: sudo apt-get install -y -qq redis-server | |
| - name: Run tests (with redis installed) | |
| run: go test -count=1 -timeout=3m -v -race ./... |