Skip to content

chore: split daily build and bullmq tests #1

chore: split daily build and bullmq tests

chore: split daily build and bullmq tests #1

Workflow file for this run

name: bullmq-tests
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build

Check failure on line 8 in .github/workflows/bullmq-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/bullmq-tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
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
working-directory: ${{github.workspace}}/build
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
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
working-directory: ${{github.workspace}}/bullmq
run: |
# yarn test -i -g "should process delayed jobs with several workers respecting delay"