Skip to content

Commit

Permalink
testing exclude statements
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestonH2O committed Aug 11, 2023
1 parent 547047c commit 09247ed
Showing 1 changed file with 12 additions and 36 deletions.
48 changes: 12 additions & 36 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ jobs:
-DCabana_DIR=${{runner.workspace}}/build-cabana/install/lib/cmake/Cabana
-DOmega_h_DIR=${{runner.workspace}}/build-omegah/install/lib/cmake/Omega_h
-DCMAKE_INSTALL_PREFIX=${{runner.workspace}}/build-meshFields/install
-D CABANA_INSTALL_DIR="\${{runner.workspace}}/build-cabana/*"
-D KOKKOS_INSTALL_DIR="\${{runner.workspace}}/build-kokkos/*"
-D OMEGAH_INSTALL_DIR="\${{runner.workspace}}/build-omegah/*"
-D LCOV_SYSTEM_EXCLUDE_PATHS="/usr/include/*"

#-D LCOV_SYSTEM_EXCLUDE_PATHS="/opt/scorec/spack/v0154_2/install/linux-rhel7-x86_64/gcc-6.5.0/gcc-10.1.0-tf5jjaditemasrbsl7tz6pnqa6duqwkg/include/c++/*\;/usr/local/cuda-11.4/include/*"

- name: Run MeshFields for coverage
working-directory: ${{runner.workspace}}/build-meshFields
Expand All @@ -128,41 +134,11 @@ jobs:
make
make coverage
# Uploads coverage directory with lcov generated HTML
#- name: Upload coverage artifact
# uses: actions/upload-artifact@v3
# with:
# name: coverage
# path: ${{runner.workspace}}/build-meshFields/coverage
#Uploads coverage directory with lcov generated HTML
- name: Upload coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage
path: ${{runner.workspace}}/build-meshFields/coverage


- name: Setup .NET Core # Required to execute ReportGenerator
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
dotnet-quality: 'ga'

- name: ReportGenerator
uses: danielpalme/[email protected]
with: # !!!!! what do we call the lcov report?
reports: '${{runner.workspace}}/build-meshFields/coverage/*' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
targetdir: '${{runner.workspace}}/coverageReport' # REQUIRED # The directory where the generated report should be saved.
reporttypes: Html_Dark;HtmlSummary # The output formats and scope (separated by semicolon) Values: Badges, Clover, Cobertura, OpenCover, CsvSummary, Html, Html_Dark, Html_Light, Html_BlueRed, HtmlChart, HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark, HtmlInline_AzurePipelines_Light, HtmlSummary, JsonSummary, Latex, LatexSummary, lcov, MarkdownSummary, MarkdownSummaryGithub, MarkdownDeltaSummary, MHtml, PngChart, SonarQube, TeamCitySummary, TextSummary, TextDeltaSummary, Xml, XmlSummary
#sourcedirs: '' # Optional directories which contain the corresponding source code (separated by semicolon). The source directories are used if coverage report contains classes without path information.
#historydir: '' # Optional directory for storing persistent coverage information. Can be used in future reports to show coverage evolution.
#plugins: '' # Optional plugin files for custom reports or custom history storage (separated by semicolon).
#assemblyfilters: '+*' # Optional list of assemblies that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
#classfilters: '+*' # Optional list of classes that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
#filefilters: '+*' # Optional list of files that should be included or excluded in the report. Exclusion filters take precedence over inclusion filters. Wildcards are allowed.
#verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
#title: '' # Optional title.
#tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version.
#license: '' # Optional license for PRO version. Get your license here: https://reportgenerator.io/pro
#customSettings: '' # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
#toolpath: 'reportgeneratortool' # Default directory for installing the dotnet tool.

- name: Upload coverage report artifact
uses: actions/[email protected]
with:
name: coverageReport # Artifact name
path: ${{runner.workspace}}/coverageReport # Directory containing files to upload

0 comments on commit 09247ed

Please sign in to comment.