Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/DotNET-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,15 @@ jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest

steps:
# temporary from here...
- name: Setup dotnet 6
uses: actions/setup-dotnet@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
- name: Setup dotnet 7
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.x'
- name: Setup dotnet 8
uses: actions/setup-dotnet@v4

- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
# ...to here

- uses: actions/setup-java@v4
with:
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/DotNET-reporting-on-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ on:
workflows: ['DotNET-build']
types:
- completed
permissions:
contents: read
actions: read
checks: write

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: phoenix-actions/test-reporting@v14
- uses: actions/checkout@v4
- uses: dorny/test-reporter@v2
with:
artifact: test-results # artifact name
name: DotNET - Tests # Name of the check run which will be created
path: '**/test-results.trx' # Path to test results (inside artifact .zip)
reporter: dotnet-trx # Format of test results
output-to: checks
artifact: test-results
name: DotNET - Tests
path: '**/test-results.trx'
reporter: dotnet-trx
fail-on-error: false
1 change: 1 addition & 0 deletions .github/workflows/JS-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/JS-reporting-on-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@ on:
workflows: ['JS-build']
types:
- completed
permissions:
contents: read
actions: read
checks: write

jobs:
upload:
report:
runs-on: ubuntu-latest
steps:
- uses: phoenix-actions/test-reporting@v14
- uses: actions/checkout@v4
- uses: dorny/test-reporter@v2
with:
artifact: test-results # artifact name
name: JS - Tests # Name of the check run which will be created
path: '**/test-junit-report.xml' # Path to test results (inside artifact .zip)
reporter: jest-junit # Format of test results
output-to: checks
artifact: test-results
name: JS - Tests
path: '**/test-junit-report.xml'
reporter: jest-junit
fail-on-error: false
19 changes: 9 additions & 10 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,30 @@ on:
workflow_dispatch:
inputs:
ElasticProvider:
description: 'Elastic Provider'
description: "Elastic Provider"
required: true
MongoProvider:
description: 'Mongo Provider'
description: "Mongo Provider"
required: true
MsSqlProvider:
description: 'Ms Sql Provider'
description: "Ms Sql Provider"
required: true
MySqlProvider:
description: 'My Sql Provider'
description: "My Sql Provider"
required: true
PostgresProvider:
description: 'Postgres Provider'
description: "Postgres Provider"
required: true
Ui:
description: 'Ui'
description: "Ui"
required: true

jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down Expand Up @@ -71,11 +72,10 @@ jobs:
NugetApiKey: ${{ secrets.NUGET_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: phoenix-actions/test-reporting@v14
- uses: dorny/test-reporter@v2
if: always()
with:
name: DotNET - Tests
output-to: checks
path: '**/test-results.trx'
reporter: dotnet-trx
fail-on-error: false
Expand All @@ -96,11 +96,10 @@ jobs:
-Dsonar.test.inclusions=src/Serilog.Ui.Web/src/__tests__/**/*
-Dsonar.javascript.lcov.reportPaths=./src/Serilog.Ui.Web/src/reports/coverage/lcov.info

- uses: phoenix-actions/test-reporting@v14
- uses: dorny/test-reporter@v2
if: always()
with:
name: JS - Tests
output-to: checks
path: '**/test-junit-report.xml'
reporter: jest-junit
fail-on-error: false
Loading
Loading