Skip to content

Commit

Permalink
clean up buildAndTest yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Ivy committed Nov 24, 2024
1 parent bc503bb commit 17c3032
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/buildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
run: |
dotnet tool install --global dotnet-coverage
dotnet-coverage collect "dotnet test --no-restore -c Release" -f xml
# run: dotnet test ./tests/MockMe.Tests.slnf --no-build -c Release --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=lcov

- name: Generate report
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.11
with:
Expand All @@ -40,9 +39,6 @@ jobs:
github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
path-to-lcov: ./tests/TestResults/lcov.info

# - name: Build
# run: dotnet build --configuration Release --no-restore

- name: Pack NuGet Packages
# run: dotnet pack --configuration Release --no-build --output ./packages --version 0.0.1-dev.$GITHUB_RUN_ID
run: dotnet pack --configuration Release --no-build --output ./packages /p:Version=0.0.1-dev
Expand All @@ -53,25 +49,6 @@ jobs:
name: nuget-packages
path: ./packages

# - name: Test And Collect CodeCov
# run: |
# dotnet tool install --global dotnet-coverage
# dotnet-coverage collect "dotnet test --no-restore -c Release" -f xml

# - name: Generate report
# uses: danielpalme/ReportGenerator-GitHub-Action@5.3.11
# with:
# reports: './output.xml'
# targetdir: './tests/TestResults'
# reporttypes: 'lcov'
# filefilters: '-*\*.g.cs'

# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.COVERALLS_REPO_TOKEN }}
# path-to-lcov: ./tests/TestResults/lcov.info

test_linux:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 17c3032

Please sign in to comment.