Skip to content

Commit

Permalink
include lfd in the test coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnrd committed Jun 22, 2023
1 parent 321aacf commit 4fa0c32
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit 4fa0c32

Please sign in to comment.