-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include lfd in the test coverage report
- Loading branch information
Showing
1 changed file
with
1 addition
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |