Merge pull request #370 from DomCR/issue-369_pdfdefinition #36
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
name: Coveralls | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
SAMPLES_FOLDER: "../../../../samples" | |
OUTPUT_SAMPLES_FOLDER: "../../../../samples/out" | |
OUTPUT_SINGLE_CASES_FOLDER: "../../../../samples/out/single_cases" | |
LOCAL_ENV: "false" | |
DELTA: "0.00001" | |
DECIMAL_PRECISION: "5" | |
RUN_DWG_WRITER_SINGLE_CASES_TEST: "false" | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-build --verbosity normal ACadSharp.Tests/ | |
- name: Coveralls action | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ github.token }} | |
path-to-lcov: ACadSharp.Tests/TestResults/coverage.info |