qlobber-pg
Version:
PostgreSQL-based pub-sub and workqueues. Supports AMQP-like wildcard topics.
30 lines (23 loc) • 556 B
YAML
image: Visual Studio 2022
environment:
NODE_CONFIG: '{"db": {"host": "localhost"}}'
PGUSER: postgres
PGPASSWORD: Password12!
POSTGRES_PATH: C:\Program Files\PostgreSQL\13
nodejs_version: 20
matrix:
- TARGET: test
- TARGET: test-multi
services:
- postgresql13
install:
- ps: Install-Product node $env:nodejs_version
- node --version
- npm install
before_test:
- set path=%postgres_path%\\bin;%path%
- "psql -c \"create database \\\"qlobber-pg\\\";\""
test_script:
- npm run migrate up
- npm run %TARGET%
build: off