#82 - Change some paths to remove codex references #181
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+** | |
pull_request: | |
branches: | |
- main | |
- develop | |
env: | |
FEASIBILITY_COMPOSE_PROJECT: test | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- 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@v4 | |
- name: Install Blazectl | |
run: .github/scripts/install-blazectl.sh | |
- name: Initialize .env's | |
run: feasibility-triangle/initialise-triangle-env-files.sh | |
- name: Change Flare External Port | |
run: sed -i 's/8084/18084/g' feasibility-triangle/flare/.env | |
- name: Generate certificate | |
run: feasibility-triangle/generate-cert.sh | |
- name: Start Triangle | |
run: feasibility-triangle/start-triangle.sh | |
- name: Load Data | |
run: | | |
ACCESS_TOKEN="$(feasibility-triangle/get-fhir-server-access-token.sh)" | |
blazectl --no-progress --server https://fhir.localhost:444/fhir --certificate-authority feasibility-triangle/auth/cert.pem --token "$ACCESS_TOKEN" upload .github/test-data | |
- name: Run Test Queries | |
run: | | |
ACCESS_TOKEN="$(feasibility-triangle/get-fhir-server-access-token.sh)" | |
.github/scripts/test-consent-queries.sh https://fhir.localhost:444/fhir "$ACCESS_TOKEN" feasibility-triangle/auth/cert.pem |