-
Notifications
You must be signed in to change notification settings - Fork 949
50 lines (46 loc) · 1.44 KB
/
bullmq-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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 &
- 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"