Skip to content

OSCER-496: Enforce CE determination_data with value objects #1015

OSCER-496: Enforce CE determination_data with value objects

OSCER-496: Enforce CE determination_data with value objects #1015

name: CI reporting-app
on:
push:
branches:
- main
paths:
- reporting-app/**
- .github/workflows/ci-reporting-app.yml
pull_request:
paths:
- reporting-app/**
- .github/workflows/ci-reporting-app.yml
defaults:
run:
working-directory: ./reporting-app
jobs:
# As an enhancement, it is possible to share the built docker image and share
# it across jobs as described in:
# https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts#passing-data-between-jobs-in-a-workflow
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# https://github.com/docker/compose/issues/1973
- name: Create required env files
working-directory: ./
run: |
touch ./reporting-app/.env
- run: make lint-ci
security:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Create required env files
working-directory: ./
run: |
touch ./reporting-app/.env
- run: make audit
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: make init-container
- run: make precompile-assets
- name: Start tests
run: make test
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: reporting-app/coverage/