Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests during npm release process #160

Merged
merged 1 commit into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,54 @@ jobs:
runs-on: ubuntu-latest

services:
### Workflow Deployment Test Setup ###
workflow-test-engine:
image: planqk/workflow-engine-test:latest
image: planqk/workflow-engine-test:v1.0.0
ports:
- 8090:8090
### End of Workflow Deployment Test Setup ###

### Pattern-based Test Setup ###
db:
image: planqk/db-test:v1.1.0
ports:
- 5060:5060
env:
POSTGRES_USERS: 'planqk:planqk|patternatlas:patternatlas|qprov:qprov'
POSTGRES_DATABASES: 'planqk:planqk|patternatlas:patternatlas|qprov:qprov'
QC_ATLAS_CONTENT_REPOSITORY_BRANCH: 'master'
ATLAS_DB: planqk
PATTERNATLAS_DB: patternatlas

pattern-atlas-api:
image: patternatlas/pattern-atlas-api:v1.9.0
ports:
- 1977:1977
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
LATEX_RENDERER_HOST_NAME: latex-renderer
LATEX_RENDERER_PORT: 5030
JDBC_DATABASE_NAME: patternatlas
PATTERN_ATLAS_FETCH_INITIAL_DATA: 'true'
HAL_EXPLORER: 'false'
SPRING_PROFILES_ACTIVE: docker

qc-atlas:
image: planqk/atlas:v3.1.4
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
Expand Down
Loading