This commit is contained in:
@@ -54,7 +54,6 @@ jobs:
|
||||
name: coverage
|
||||
path: ${{ github.workspace }}/Cobertura.xml
|
||||
retention-days: 5
|
||||
- run: ls
|
||||
- name: Publish Code Coverage Report
|
||||
uses: irongut/CodeCoverageSummary@v1.3.0
|
||||
with:
|
||||
@@ -67,13 +66,13 @@ jobs:
|
||||
indicators: true
|
||||
output: both
|
||||
thresholds: "10 30"
|
||||
|
||||
- run: ls
|
||||
- name: Add Coverage PR Comment
|
||||
uses: marocchino/sticky-pull-request-comment@v2
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
message: |
|
||||
Release ${{ github.sha }} to <https://pr-${{ github.event.number }}.example.com>
|
||||
recreate: true
|
||||
path: code-coverage-results.md
|
||||
|
||||
- name: Upload Test Result Files
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
name: dotnet package
|
||||
# name: dotnet package
|
||||
|
||||
on: [push]
|
||||
# on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# jobs:
|
||||
# build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
dotnet-version: [ '8.0.x' ]
|
||||
# runs-on: ubuntu-latest
|
||||
# strategy:
|
||||
# matrix:
|
||||
# dotnet-version: [ '8.0.x' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
- name: Install dependencies
|
||||
run: dotnet restore ./src/LittleTown.sln
|
||||
- name: Build
|
||||
run: dotnet build ./src/LittleTown.sln
|
||||
- name: Test with the dotnet CLI
|
||||
run: dotnet test ./src/LittleTown.sln
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Setup dotnet
|
||||
# uses: actions/setup-dotnet@v3
|
||||
# with:
|
||||
# dotnet-version: '8.0.x'
|
||||
# - name: Install dependencies
|
||||
# run: dotnet restore ./src/LittleTown.sln
|
||||
# - name: Build
|
||||
# run: dotnet build ./src/LittleTown.sln
|
||||
# - name: Test with the dotnet CLI
|
||||
# run: dotnet test ./src/LittleTown.sln
|
||||
Reference in New Issue
Block a user