Skip to content

Add Codecov badge

Add Codecov badge #37

Workflow file for this run

name: master build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Install Graphviz
run: sudo apt-get -y install graphviz
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload Architecture Documentation
uses: actions/upload-artifact@v3
with:
name: arc42-doc
path: |
target/generated-docs/ddd-cm-sample-architecture.pdf
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1