diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 21480cd..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,50 +0,0 @@ -# This workflow will build a Java project with Maven -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: Java CI with Maven - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - run-unit-tests: - - runs-on: ubuntu-18.04 - - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - - name: Run Unit tests with Maven - run: mvn -B clean test jacoco:report --file pom.xml --no-transfer-progress - - - name: Set Branch name Environment variable - env: - BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }} - run: echo "BRANCH_NAME=${BRANCH_NAME_OR_REF#refs/heads/}" >> $GITHUB_ENV - - - name: Set PR Number Environment variable - run: | - echo "PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV - - - name: Upload coveralls report - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} - run: | - mvn -B coveralls:report --file pom.xml \ - --no-transfer-progress \ - -D repoToken="$COVERALLS_REPO_TOKEN" \ - -D serviceName=Github \ - -D branch="$BRANCH_NAME" \ - -D pullRequest="$PR_NUMBER" \