Skip to content

Merge pull request #108 from sualeh/dependabot/maven/commons-io-commo… #307

Merge pull request #108 from sualeh/dependabot/maven/commons-io-commo…

Merge pull request #108 from sualeh/dependabot/maven/commons-io-commo… #307

Workflow file for this run

name: Quick Build
on:
workflow_dispatch:
push:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Quick build
runs-on: ubuntu-latest
steps:
# SETUP BUILD ENVIRONMENT
- id: prepare-maven-build
name: Prepare Maven build
uses: sualeh/[email protected]
# BUILD AND TEST
- id: build-test
name: Build all modules and run tests
run: |
# Build
mvn \
--no-transfer-progress \
--batch-mode \
package
- id: code-climate
name: Test and publish code coverage to Code Climate
uses: paambaati/[email protected]
if: github.ref == 'refs/heads/main'
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JACOCO_SOURCE_PATH: "${{github.workspace}}/src/main/java"
with:
coverageLocations: ${{github.workspace}}/target/site/jacoco/jacoco.xml:jacoco