Skip to content

docs(readme): Rewrite presentation and tagline to clarify platform focus #83

docs(readme): Rewrite presentation and tagline to clarify platform focus

docs(readme): Rewrite presentation and tagline to clarify platform focus #83

Workflow file for this run

name: Tests
# Run the test suite (Surefire, all *Test classes) on every PR and push.
# Integration-style tests provision a real PostgreSQL via Testcontainers,
# which uses the Docker daemon built into ubuntu-latest runners.
# No .env file is needed: @ServiceConnection wires the datasource to the
# container and the tests exclude the MongoDB autoconfiguration.
on:
pull_request:
branches: [dev]
push:
branches: [dev, main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: "21"
cache: maven
- name: Run the test suite
run: ./mvnw -B -ntp test
# JaCoCo is bound to the test phase, so the run above already
# produced the coverage report (HTML and XML).
- name: Upload the coverage report
if: always()
uses: actions/upload-artifact@v7
with:
name: jacoco-coverage-report
path: target/site/jacoco/
# Publish coverage to Codecov (ADR-0012). Advisory: codecov.yml sets
# informational statuses, and an upload failure does not fail CI.
- name: Upload coverage to Codecov
# Third-party action, pinned to the commit SHA of v7.0.0
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: target/site/jacoco/jacoco.xml
fail_ci_if_error: false