1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/.github/workflows/bullmq-tests.yml
Roman Gershman 5ef8087a9c
fix: use cd instead of working-directory which does not work (#1781)
fix: use "cd" instead of woarking-directory that does not work

Also, use GITHUB_WORKSPACE due to https://github.com/actions/runner/issues/2058

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-08-31 23:23:48 +03:00

46 lines
1.3 KiB
YAML

# 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=Debug -GNinja
ninja dragonfly
./dragonfly --alsologtostderr &
- name: Clone and build BullMQ
run: |
git clone https://github.com/taskforcesh/bullmq.git
cd bullmq
pwd
yarn install --ignore-engines --frozen-lockfile --non-interactive
yarn build
- name: Test BullMQ
run: |
cd $GITHUB_WORKSPACE/bullmq
# yarn test -i -g "should process delayed jobs with several workers respecting delay"