-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alan Brault <alan.brault@visus.io>
- Loading branch information
Showing
27 changed files
with
1,247 additions
and
1,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"configMigration": true, | ||
"extends": [ | ||
"config:recommended", | ||
":disableDependencyDashboard", | ||
":gitSignOff", | ||
":preserveSemverRanges" | ||
], | ||
"timezone": "America/New_York", | ||
"packageRules": [ | ||
{ | ||
"automerge": true, | ||
"matchUpdateTypes": [ | ||
"digest", | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major dependencies", | ||
"groupSlug": "all-minor-patch", | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"schedule": [ | ||
"after 8:00am" | ||
], | ||
"matchPackageNames": [ | ||
"*" | ||
] | ||
}, | ||
{ | ||
"automerge": false, | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"labels": [ | ||
"dependencies", | ||
"breaking" | ||
], | ||
"schedule": [ | ||
"after 8:00am on tuesday" | ||
], | ||
"matchPackageNames": [ | ||
"*" | ||
] | ||
} | ||
] | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"configMigration": true, | ||
"extends": [ | ||
"config:recommended", | ||
":disableDependencyDashboard", | ||
":gitSignOff", | ||
":preserveSemverRanges" | ||
], | ||
"timezone": "America/New_York", | ||
"packageRules": [ | ||
{ | ||
"automerge": true, | ||
"matchUpdateTypes": [ | ||
"digest", | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major dependencies", | ||
"groupSlug": "all-minor-patch", | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"schedule": [ | ||
"after 8:00am" | ||
], | ||
"matchPackageNames": [ | ||
"*" | ||
] | ||
}, | ||
{ | ||
"automerge": false, | ||
"matchUpdateTypes": [ | ||
"major" | ||
], | ||
"labels": [ | ||
"dependencies", | ||
"breaking" | ||
], | ||
"schedule": [ | ||
"after 8:00am on tuesday" | ||
], | ||
"matchPackageNames": [ | ||
"*" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,86 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '**.md' | ||
- '.github/renovate.json' | ||
- '.github/workflows/release.yaml' | ||
|
||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- '.github/renovate.json' | ||
- '.github/workflows/release.yaml' | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '**.md' | ||
- '.github/renovate.json' | ||
- '.github/workflows/release.yaml' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- '.github/renovate.json' | ||
- '.github/workflows/release.yaml' | ||
|
||
jobs: | ||
unit-tests: | ||
name: Unit Tests | ||
runs-on: windows-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
show-progress: false | ||
- name: SonarCloud Packages Cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .\sonar\cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
- name: SonarCloud Scanner Cache | ||
id: cache-sonar-scanner | ||
uses: actions/cache@v4 | ||
with: | ||
path: .\.sonar\scanner | ||
key: ${{ runner.os }}-sonar-scanner | ||
restore-keys: ${{ runner.os }}-sonar-scanner | ||
- name: Install Java SDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'zulu' | ||
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
global-json-file: global.json | ||
- name: Install SonarCloud Scanner | ||
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true' | ||
shell: powershell | ||
run: | | ||
New-Item -Path .\.sonar\scanner -ItemType Directory | ||
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner | ||
- name: Test | ||
run: | | ||
.\.sonar\scanner\dotnet-sonarscanner begin ` | ||
/k:"visus:cuid.net" ` | ||
/o:"visus" ` | ||
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" ` | ||
/d:sonar.cs.opencover.reportsPaths=${{ runner.temp }}\CodeCoverage\*.xml ` | ||
/d:sonar.cs.vstest.reportsPaths=${{ runner.temp }}\TestResults\*.trx ` | ||
/d:sonar.host.url="https://sonarcloud.io" | ||
dotnet test -c release ` | ||
--logger:trx ` | ||
--results-directory ${{ runner.temp }}\TestResults ` | ||
-p:CollectCoverage=true ` | ||
-p:CoverletOutputFormat=opencover ` | ||
-p:CoverletOutput=${{ runner.temp }}\CodeCoverage\coverage.opencover.xml | ||
.\.sonar\scanner\dotnet-sonarscanner end ` | ||
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" | ||
- name: Test Results | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
name: Test Results | ||
path: ${{ runner.temp }}\TestResults\*.trx | ||
reporter: dotnet-trx | ||
path-replace-backslashes: true | ||
unit-tests: | ||
name: Unit Tests | ||
runs-on: windows-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
show-progress: false | ||
- name: SonarCloud Packages Cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .\sonar\cache | ||
key: ${{ runner.os }}-sonar | ||
restore-keys: ${{ runner.os }}-sonar | ||
- name: SonarCloud Scanner Cache | ||
id: cache-sonar-scanner | ||
uses: actions/cache@v4 | ||
with: | ||
path: .\.sonar\scanner | ||
key: ${{ runner.os }}-sonar-scanner | ||
restore-keys: ${{ runner.os }}-sonar-scanner | ||
- name: Install Java SDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'zulu' | ||
- name: Install .NET SDK | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
global-json-file: global.json | ||
- name: Install SonarCloud Scanner | ||
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true' | ||
shell: powershell | ||
run: | | ||
New-Item -Path .\.sonar\scanner -ItemType Directory | ||
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner | ||
- name: Test | ||
run: | | ||
.\.sonar\scanner\dotnet-sonarscanner begin ` | ||
/k:"visus:cuid.net" ` | ||
/o:"visus" ` | ||
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" ` | ||
/d:sonar.cs.opencover.reportsPaths=${{ runner.temp }}\CodeCoverage\*.xml ` | ||
/d:sonar.cs.vstest.reportsPaths=${{ runner.temp }}\TestResults\*.trx ` | ||
/d:sonar.host.url="https://sonarcloud.io" | ||
dotnet test -c release ` | ||
--logger:trx ` | ||
--results-directory ${{ runner.temp }}\TestResults ` | ||
-p:CollectCoverage=true ` | ||
-p:CoverletOutputFormat=opencover ` | ||
-p:CoverletOutput=${{ runner.temp }}\CodeCoverage\coverage.opencover.xml | ||
.\.sonar\scanner\dotnet-sonarscanner end ` | ||
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" | ||
- name: Test Results | ||
uses: dorny/test-reporter@v1 | ||
with: | ||
name: Test Results | ||
path: ${{ runner.temp }}\TestResults\*.trx | ||
reporter: dotnet-trx | ||
path-replace-backslashes: true | ||
|
||
|
||
|
Oops, something went wrong.