Skip to content

Configure blaze frontend #95

Configure blaze frontend

Configure blaze frontend #95

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+**
pull_request:
branches:
- main
- develop
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Check shell scripts
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: .github/scripts
test-feasibility-triangle-fhir-server:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Blazectl
run: .github/scripts/install-blazectl.sh
- name: Start Keycloak
run: docker-compose -f feasibility-triangle/fhir-server/keycloak.docker-compose.yml up -d --wait
- name: Start Blaze FHIR Server
run: docker-compose -f feasibility-triangle/fhir-server/docker-compose.yml up -d
- name: Wait for Blaze FHIR Server
run: .github/scripts/wait-for-url.sh http://localhost:8081/health
- name: Get Access Token
id: access-token
run: echo TOKEN="$(feasibility-triangle/get-fhir-server-access-token.sh)" >> "$GITHUB_OUTPUT"
- name: Load Data
run: blazectl --no-progress --server http://localhost:8081/fhir --token "${{ steps.access-token.outputs.TOKEN }}" upload .github/test-data
- name: Run Test Queries
run: .github/scripts/test-consent-queries.sh