Skip to content

fix: add a cleanURI function to fix params with special characters (#26) #97

fix: add a cleanURI function to fix params with special characters (#26)

fix: add a cleanURI function to fix params with special characters (#26) #97

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test-redis:
runs-on: ubuntu-latest
name: Testing with Bun, redis@${{ matrix.redis-version }}
strategy:
matrix:
redis-version: [7-alpine, 6-alpine]
steps:
- name: Checkout repository
uses: actions/checkout@v4 # v3
- uses: oven-sh/setup-bun@v1
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: ${{ matrix.redis-version }}
- run: bun install
- run: bun run tsc
- run: bun test
- run: bun test ./src/e2e-test.ts
test-dragonflydb:
runs-on: ubuntu-latest
name: Testing with Bun, dragonflydb@latest
services:
dragonflydb:
image: docker.dragonflydb.io/dragonflydb/dragonfly
env:
DFLY_cluster_mode: emulated
DFLY_lock_on_hashtags: true
ports:
- 6379:6379
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run tsc
- run: QUEUE_PREFIX={b} bun test
- run: QUEUE_PREFIX={b} bun test ./src/e2e-test.ts