-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (36 loc) · 1.03 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 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: Load Data
run: blazectl --no-progress --server http://localhost:8081/fhir upload .github/test-data
- name: Run Test Queries
run: .github/scripts/test-consent-queries.sh