Merge pull request #41 from DomCR/merge-project #5
This file contains hidden or 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 ] | |
| jobs: | |
| coveralls: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - uses: cardinalby/export-env-action@v2 | |
| with: | |
| envFile: 'github.env' | |
| - name: Build and Test MeshIO | |
| working-directory: src | |
| run: | | |
| dotnet restore | |
| dotnet build --no-restore | |
| dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-restore --no-build --framework net9.0 --verbosity normal MeshIO.Tests/ | |
| - name: Build and Test Submodules | |
| working-directory: src/CSUtilities | |
| run: | | |
| dotnet restore | |
| dotnet build --no-restore | |
| dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-restore --no-build --framework net9.0 --verbosity normal CSUtilities.Tests/ | |
| dotnet test -p:CollectCoverage=true -p:CoverletOutput=TestResults/ -p:CoverletOutputFormat=lcov --no-restore --no-build --framework net9.0 --verbosity normal CSMath.Tests/ | |
| - name: Coveralls action | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| github-token: ${{ github.token }} | |
| files: src/MeshIO.Tests/TestResults/coverage.net9.0.info src/CSUtilities/CSUtilities.Tests/TestResults/coverage.info src/CSUtilities/CSMath.Tests/TestResults/coverage.info |