Skip to content

Commit

Permalink
Correct diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
XiongKezhi committed May 27, 2020
1 parent 8b243f6 commit bce354e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
32 changes: 23 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# This workflow will build a Java project with Maven on all platforms

name: Java CI with Maven on all platforms
name: CI

on:
push:
Expand All @@ -13,16 +11,32 @@ jobs:

strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
java: [8, 11]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}
name: on ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
name: on ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: ${{ matrix.java }}

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven
- name: Build with Maven
run: mvn -V -ntp clean verify --file pom.xml '-Dgpg.skip'
run: mvn -Penable-jacoco clean verify -B -V -ntp

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: '*jacoco.xml'
2 changes: 1 addition & 1 deletion doc/activity.puml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ stop

|Jenkins Instance|
start
:The related job starts;
:The related job completes;
|GitHub Checks API Plugin|
:Enumerate consumers to
complete check runs with
Expand Down
2 changes: 1 addition & 1 deletion doc/classes-design.puml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ JobListener .left.> CheckGHEventSubscriber

CheckGHEventSubscriber -up-|> GHEventSubscriber

Run "1" -left-> "*" CheckRunResultAction
Run "1" -left- "*" CheckRunResultAction
CheckRunResultAction "1" --> "1" CheckRunResult
CheckRunResultAction .up.|> RunAction2

Expand Down

0 comments on commit bce354e

Please sign in to comment.