test(LanguageParserServiceTest): use contains instead equals for arra… #89
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: Unit Test Action | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source code | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "7.0.x" | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Run Build | |
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true | |
- name: Run Test | |
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover | |
- name: Upload Coverage | |
uses: codacy/codacy-coverage-reporter-action@v1 | |
with: | |
api-token: ${{ secrets.CODACY_API_TOKEN }} | |
coverage-reports: Submarine.Core.Test/coverage.opencover.xml |