Skip to content

Merged changes with master branch. #11

Merged changes with master branch.

Merged changes with master branch. #11

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Start Rabbit
run: make start-rabbit
- name: Build project
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run tests
run: mvn jacoco:prepare-agent test -B jacoco:report
- name: Upload tests
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
LATEST_VERSION="$(curl -Ls https://api.bintray.com/packages/codacy/Binaries/codacy-coverage-reporter/versions/_latest | jq -r .name)"
curl -Ls -o codacy-coverage-reporter "https://dl.bintray.com/codacy/Binaries/${LATEST_VERSION}/codacy-coverage-reporter-linux"
chmod +x codacy-coverage-reporter
./codacy-coverage-reporter report -l Java -r target/site/jacoco/jacoco.xml