Skip to content

Upgrade to Ruby 3.2.7 + bundler 2.4.19 + conservative upgrade of gems + add CI #1

Upgrade to Ruby 3.2.7 + bundler 2.4.19 + conservative upgrade of gems + add CI

Upgrade to Ruby 3.2.7 + bundler 2.4.19 + conservative upgrade of gems + add CI #1

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
jobs:
build:
if: github.repository == 'incendilabs/plan-executor'
runs-on: ubuntu-24.04
steps:
-
name: Checkout repo
uses: actions/checkout@v4
-
name: Build docker image
run: docker build -t incendi/plan-executor:latest .
-
name: Run tests
run: |
mkdir -p logs html_summaries json_results
docker compose up -d spark
docker compose run --rm --no-deps plan_executor ./execute_all.sh 'http://spark:8080/fhir' r4 'html|json|stdout'
docker compose logs spark > logs/backend.log
-
name: Combine test results
if: ${{ always() }}
run: ./combine-test-results.sh json_results annotations.json
-
name: Attach test results
if: github.event_name != 'pull_request'
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
input: annotations.json
-
name: Archive logs
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: logs-r4-${{ github.sha }}
path: logs/*.log*
-
name: Archive test reports
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: html_summaries-r4-${{ github.sha }}
path: html_summaries/**/*.html
-
name: Archive JSON results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: json_results-r4-${{ github.sha }}
path: json_results/**/*.json
-
name: Archive annotations file
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: annotations-r4-${{ github.sha }}
path: annotations.json
-
name: Cleanup
if: ${{ always() }}
run: cd tests/integration-tests && docker compose down