Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Apr 1, 2024
1 parent 2749cfb commit 4b13654
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test-indicators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
pull_request:
branches: ["main"]

permissions:
contents: read
pull-requests: write

jobs:
test:
name: unit tests
runs-on: ${{ matrix.os }}

permissions:
contents: read
pull-requests: write

strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Setup .NET
id: dotnet-new
uses: actions/setup-dotnet@v4
if: ${{ env.SUPPORT_GA }}
if: env.SUPPORT_GA
with:
dotnet-version: ${{ matrix.dotnet-version }}
dotnet-quality: "ga"
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
# the remaining steps are only needed from one primary instance

- name: Test other items
if: ${{ env.IS_PRIMARY }}
if: env.IS_PRIMARY
run: >
dotnet test tests/other/Tests.Other.csproj
--configuration Release
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Post test summary
uses: bibipkins/[email protected]
if: ${{ env.IS_PRIMARY && always() }}
if: env.IS_PRIMARY && always()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-title: ""
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Publish coverage to Codacy
uses: codacy/codacy-coverage-reporter-action@v1
if: ${{ env.IS_PRIMARY }}
if: env.IS_PRIMARY
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ./test-indicators/**/coverage.cobertura.xml

0 comments on commit 4b13654

Please sign in to comment.