-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into fl/exception-manager
# Conflicts: # Common/src/Pollster/Pollster.cs # Common/src/Pollster/PostProcessor.cs # Common/src/Pollster/RunningTaskProcessor.cs # Common/src/Pollster/TaskQueueBase.cs
- Loading branch information
Showing
93 changed files
with
1,483 additions
and
552 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,186 @@ | ||
name: Manual Test | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
filter: | ||
description: 'Filter for tests' | ||
default: '' | ||
type: string | ||
|
||
jobs: | ||
tests: | ||
strategy: | ||
matrix: | ||
projects: | ||
- Common/tests | ||
- Adaptors/MongoDB/tests | ||
- Adaptors/Memory/tests | ||
- Adaptors/S3/tests | ||
os: | ||
- ubuntu-latest | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
submodules: true | ||
|
||
- name: Install AWSCLI (the one in the Github runner does not work) | ||
run: | | ||
pip install awscli | ||
- name: Setup just | ||
run: | | ||
sudo snap install --edge --classic just | ||
- name: Minio Server UP | ||
if: ${{ matrix.projects }} == "Adaptors/S3/tests" | ||
run: | | ||
MONITOR_PREFIX="monitor/deploy/" tools/retry.sh -w 30 -- tools/monitor.sh \ | ||
just object=minio deployTargetObject | ||
- name: Dotnet Restore | ||
run: | | ||
MONITOR_PREFIX="monitor/restore/" MONITOR_CD=${{ matrix.projects }} tools/retry.sh -w 60 -- tools/monitor.sh \ | ||
dotnet restore | ||
- name: Dotnet Build | ||
run: | | ||
MONITOR_PREFIX="monitor/build/" MONITOR_CD=${{ matrix.projects }} tools/monitor.sh \ | ||
dotnet build | ||
- name: Run tests | ||
run: | | ||
MONITOR_PREFIX="monitor/test/" MONITOR_CD=${{ matrix.projects }} tools/monitor.sh \ | ||
dotnet test --logger "trx;LogFileName=test-results.trx" ${filter:+--filter "$filter"} -p:RunAnalyzers=false -p:WarningLevel=0 | ||
env: | ||
filter: ${{ inputs.filter }} | ||
|
||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() | ||
with: | ||
name: Test - ${{ matrix.os }} ${{ matrix.projects }} | ||
path: ${{ matrix.projects }}/TestResults/test-results.trx | ||
reporter: dotnet-trx | ||
- name: Upload monitor profile | ||
if: always() | ||
run: | | ||
export AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} | ||
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
project="$(echo ${{ matrix.projects }} | sed 's:/:_:')" | ||
tar -czf - monitor/ | aws s3 cp - s3://${{ secrets.AWS_LOG_BUCKET_NAME }}/core-pipeline/${{ github.run_number }}/${{ github.run_attempt }}/tests-$project-monitor.tar.gz | ||
testsQueueProtos: | ||
strategy: | ||
matrix: | ||
queue: | ||
- activemq | ||
- rabbitmq | ||
projects: | ||
- Adaptors/Amqp/tests | ||
os: | ||
- ubuntu-latest | ||
include: | ||
- queue: rabbitmq091 | ||
projects: Adaptors/RabbitMQ/tests | ||
os: ubuntu-latest | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
submodules: true | ||
|
||
- name: Install AWSCLI (the one in the Github runner does not work) | ||
run: | | ||
pip install awscli | ||
- name: Setup just | ||
run: | | ||
sudo snap install --edge --classic just | ||
- name: Set up queue | ||
run: | | ||
MONITOR_PREFIX="monitor/deploy/" tools/retry.sh -w 30 -- tools/monitor.sh \ | ||
just queue=${{ matrix.queue }} deployTargetQueue | ||
- name: Dotnet Restore | ||
run: | | ||
MONITOR_PREFIX="monitor/restore/" MONITOR_CD=${{ matrix.projects }} tools/retry.sh -w 60 -- tools/monitor.sh \ | ||
dotnet restore | ||
- name: Dotnet Build | ||
run: | | ||
MONITOR_PREFIX="monitor/build/" MONITOR_CD=${{ matrix.projects }} tools/monitor.sh \ | ||
dotnet build | ||
- name: Run tests | ||
run: | | ||
MONITOR_PREFIX="monitor/test/" MONITOR_CD=${{ matrix.projects }} tools/monitor.sh \ | ||
dotnet test --logger "trx;LogFileName=test-results.trx" ${filter:+--filter "$filter"} -p:RunAnalyzers=false -p:WarningLevel=0 | ||
env: | ||
filter: ${{ inputs.filter }} | ||
|
||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() | ||
with: | ||
name: Test - ${{ matrix.queue }} ${{ matrix.projects }} | ||
path: ${{ matrix.projects }}/TestResults/test-results.trx | ||
reporter: dotnet-trx | ||
- name: Upload monitor profile | ||
if: always() | ||
run: | | ||
export AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} | ||
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
project="$(echo ${{ matrix.projects }} | sed 's:/:_:')" | ||
tar -czf - monitor/ | aws s3 cp - s3://${{ secrets.AWS_LOG_BUCKET_NAME }}/core-pipeline/${{ github.run_number }}/${{ github.run_attempt }}/test-${{ matrix.queue }}-$project-monitor.tar.gz | ||
testsWinOnly: | ||
strategy: | ||
matrix: | ||
projects: | ||
- Adaptors/Redis/tests | ||
- Common/tests | ||
- Adaptors/MongoDB/tests | ||
- Adaptors/Memory/tests | ||
fail-fast: false | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
submodules: true | ||
|
||
- name: Dotnet Restore | ||
run: | | ||
cd ${{ matrix.projects }} | ||
dotnet restore | ||
- name: Dotnet Build | ||
run: | | ||
cd ${{ matrix.projects }} | ||
dotnet build | ||
- name: Run tests | ||
shell: bash | ||
run: | | ||
cd ${{ matrix.projects }} | ||
dotnet test --logger "trx;LogFileName=test-results.trx" ${filter:+--filter "$filter"} -p:RunAnalyzers=false -p:WarningLevel=0 | ||
env: | ||
filter: ${{ inputs.filter }} | ||
|
||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() | ||
with: | ||
name: Test - windows ${{ matrix.projects }} | ||
path: ${{ matrix.projects }}/TestResults/test-results.trx | ||
reporter: dotnet-trx |
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
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
3 changes: 1 addition & 2 deletions
3
Adaptors/LocalStorage/src/ArmoniK.Core.Adapters.LocalStorage.csproj
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
1 change: 1 addition & 0 deletions
1
Adaptors/LocalStorage/tests/ArmoniK.Core.Adapters.LocalStorage.Tests.csproj
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
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
1 change: 1 addition & 0 deletions
1
Adaptors/MongoDB/tests/ArmoniK.Core.Adapters.MongoDB.Tests.csproj
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
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
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
Oops, something went wrong.