Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 301dbdd

Browse files
committed
FF-52 added code coverage to pipeline.
1 parent 6f24b06 commit 301dbdd

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/latestRelease.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ jobs:
1818
name: Run all Tests
1919
run: mvn clean test -f pom.xml
2020
-
21-
name: build image with docker
21+
name: Build Docker Image
2222
run: mvn spring-boot:build-image -f pom.xml -P prod
23-
-
23+
-
24+
name: Upload CodeCov.
25+
run: bash <(curl -s https://codecov.io/bash) -Z
26+
-
2427
name: Log into DockerHub Registry
2528
run: echo "${{ secrets.DOCKER_PW }}" | docker login -u filefighter --password-stdin
2629
-
27-
name: Push image to DockerHub Registry
30+
name: Push Image to DockerHub Registry
2831
run: |
2932
IMAGE_ID=$(docker images rest -q)
3033
VERSION=latest

.github/workflows/stableRelease.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ jobs:
1717
java-version: '11.0.8'
1818
architecture: x64
1919
-
20-
name: run all tests
20+
name: Run all Tests
2121
run: mvn clean test -f pom.xml
2222
-
23-
name: build image with docker
23+
name: Build Docker Image
2424
run: mvn spring-boot:build-image -f pom.xml -P prod
2525
-
2626
name: Log into DockerHub Registry
2727
run: echo "${{ secrets.DOCKER_PW }}" | docker login -u filefighter --password-stdin
2828
-
29-
name: generate image tag
29+
name: Generate Image Tag from Git Tag
3030
id: vars
3131
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
3232
-
33-
name: Push image to DockerHub Registry
33+
name: Push Image to DockerHub Registry
3434
run: |
3535
IMAGE_ID=$(docker images rest -q)
3636
VERSION=${{ steps.vars.outputs.tag }}

0 commit comments

Comments
 (0)