Enable QRMs as concrete solutions for augmentation and behavioral patterns #758
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
name: Run Tests | |
on: | |
pull_request: | |
types: [ opened, synchronize ] | |
push: | |
branches: | |
- 'master' | |
jobs: | |
run-test: | |
runs-on: ubuntu-latest | |
services: | |
workflow-test-engine: | |
image: planqk/workflow-engine-test:latest | |
ports: | |
- 8090:8090 | |
### Pattern-based Test Setup ### | |
pattern-atlas-api: | |
image: patternatlas/pattern-atlas-api:v1.9.0 | |
ports: | |
- 1978:80 | |
env: | |
JDBC_DATABASE_URL: db | |
JDBC_DATABASE_USERNAME: patternatlas | |
JDBC_DATABASE_PASSWORD: patternatlas | |
JDBC_DATABASE_PORT: 5060 | |
DB_INIT_USER: patternatlas | |
DB_INIT_PASSWORD: patternatlas | |
JDBC_DATABASE_NAME: patternatlas | |
PATTERN_ATLAS_FETCH_INITIAL_DATA: 'true' | |
HAL_EXPLORER: 'false' | |
SPRING_PROFILES_ACTIVE: docker | |
qc-atlas: | |
image: planqk/atlas:v3.1.3 | |
ports: | |
- 6626:6626 | |
env: | |
POSTGRES_HOSTNAME: db | |
POSTGRES_PORT: 5060 | |
POSTGRES_USER: planqk | |
POSTGRES_PASSWORD: planqk | |
POSTGRES_DB: planqk | |
### End of Pattern-based Test Setup ### | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: run tests | |
run: | | |
npm ci | |
npm run build | |
npm test | |
working-directory: ./components/bpmn-q |