Merge pull request #184 from geofmureithi/renovate/async-trait-0.x #56
Workflow file for this run
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
on: | |
push: | |
paths: | |
- 'packages/apalis-redis/**' | |
- '.github/workflows/redis.yaml' | |
pull_request: | |
paths: | |
- 'packages/apalis-redis/**' | |
- '.github/workflows/redis.yaml' | |
name: Redis CI | |
jobs: | |
test-redis: | |
name: Test Suite Redis | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: cargo test --features tokio-comp -- --test-threads=1 | |
working-directory: packages/apalis-redis | |
env: | |
REDIS_URL: redis://127.0.0.1/ | |
- run: cargo test --features async-std-comp -- --test-threads=1 | |
working-directory: packages/apalis-redis | |
env: | |
REDIS_URL: redis://127.0.0.1/ |