Skip to content

Commit

Permalink
Refactor based on feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnWu33 committed Oct 9, 2024
1 parent 260bc68 commit f3011fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
timeout-minutes: 20

outputs:
dotnet-sdk-version: ${{ steps.setup-dotnet.outputs.dotnet-version }}
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: mutation-tests
on:
push:
branches: [ main, release/* ]
tags: [ '*' ]
pull_request:
branches: [ main, release/* ]
workflow_dispatch:
Expand All @@ -21,8 +20,8 @@ permissions:
contents: read

jobs:
build:
name: Run Mutation Test ${{ matrix.target }}
mutations:
name: ${{ matrix.name }}
runs-on: windows-latest
timeout-minutes: 60

Expand Down Expand Up @@ -50,7 +49,6 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
id: setup-dotnet

- name: Setup NuGet cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
Expand All @@ -59,15 +57,10 @@ jobs:
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }}
restore-keys: ${{ runner.os }}-nuget-

- name: Build and Run Mutation Tests
id: build
- name: Run mutation tests
shell: pwsh
run: ./build.ps1 -Target Mutation${{ matrix.target }}

- name: downcase target
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Upload Mutation Report
if: always()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
Expand Down

0 comments on commit f3011fc

Please sign in to comment.