diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8a1d948a..1e5c36d0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,10 @@ jobs: - run: mvn clean package - run: mkdir staging && cp target/onlinebookstore.war staging + - name: Run tests and generate code coverage report + run: mvn testCoverage + + - name: upload artifact uses: actions/upload-artifact@v3 with: