From 4fa0c32f0152d95c4313e4e3b983642897e17700 Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Thu, 22 Jun 2023 09:15:14 +0200 Subject: [PATCH] include lfd in the test coverage report --- .github/workflows/build.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d89b357149..c708806193 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,37 +30,15 @@ jobs: fetch-depth: 0 - name: Prepare build environment uses: ./.github/actions/prepare-build-env - - name: Build and package lf cli tools (nightly build) - # We assume, that the nightly build only runs once on Ubuntu - run: | - export TIMESTAMP="$(date +'%Y%m%d%H%M%S')" - ./gradlew build -Pnightly=$TIMESTAMP -PtargetOS=Linux -PtargetArch=x86_64 - ./gradlew assemble -Pnightly=$TIMESTAMP -PtargetOS=Linux -PtargetArch=aarch64 - ./gradlew assemble -Pnightly=$TIMESTAMP -PtargetOS=MacOS -PtargetArch=x86_64 - ./gradlew assemble -Pnightly=$TIMESTAMP -PtargetOS=MacOS -PtargetArch=aarch64 - ./gradlew assemble -Pnightly=$TIMESTAMP -PtargetOS=Windows -PtargetArch=x86_64 - shell: bash - if: ${{ inputs.nightly == true }} - name: Build and package lf cli tools (regular build) run: ./gradlew build shell: bash - if: ${{ inputs.nightly != true }} - - name: Deploy nightly release - uses: marvinpinto/action-automatic-releases@latest - with: - repo_token: "${{ secrets.envPAT }}" - automatic_release_tag: 'nightly' - prerelease: true - title: "Lingua Franca Nightly" - files: | - build/distributions/* - if: ${{ inputs.nightly == true }} - name: Collect code coverage run: ./gradlew jacocoTestReport if: ${{ runner.os == 'Linux' }} - name: Report to CodeCov uses: codecov/codecov-action@v3.1.1 with: - files: core/build/reports/xml/jacoco,cli/lfc/build/reports/xml/jacoco,cli/lff/build/reports/xml/jacoco + files: core/build/reports/xml/jacoco,cli/lfc/build/reports/xml/jacoco,cli/lff/build/reports/xml/jacoco,cli/lfd/build/reports/xml/jacoco fail_ci_if_error: false verbose: true