bullmq-tests #13
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
# These tests are disabled until Dragonfly works well with BullMQ. | |
name: bullmq-tests | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
timeout-minutes: 60 | |
container: | |
image: ghcr.io/romange/alpine-dev:latest | |
credentials: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install NodeJs | |
run: | | |
apk add --no-cache nodejs npm yarn | |
node --version | |
npm --version | |
yarn --version | |
mkdir -p $GITHUB_WORKSPACE/build | |
- name: Configure/Build | |
run: | | |
cd $GITHUB_WORKSPACE/build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -GNinja | |
ninja dragonfly | |
./dragonfly --alsologtostderr --dbfilename= --cluster_mode=emulated --lock_on_hashtags --vmodule=main_service=2& | |
- name: Clone and build BullMQ | |
run: | | |
git clone https://github.com/dragonflydb/bullmq.git | |
cd bullmq | |
pwd | |
yarn install --ignore-engines --non-interactive | |
yarn build | |
- name: Test BullMQ1 | |
run: | | |
cd $GITHUB_WORKSPACE/bullmq | |
yarn test -g "flows.should allow parent opts on the root job" | |
- name: Test BullMQ2 | |
run: | | |
cd $GITHUB_WORKSPACE/bullmq | |
yarn test -i -g "should process delayed jobs with several workers respecting delay" |