diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74b4c5f42..036393b9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,6 +65,16 @@ jobs: 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 \ @@ -121,6 +131,16 @@ jobs: 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 \ @@ -158,6 +178,16 @@ jobs: 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 run: | cd ${{ matrix.projects }} @@ -290,6 +320,16 @@ jobs: just log_level=${{ matrix.log-level }} tag=${VERSION} queue=${{ matrix.queue }} worker=stream deploy sleep 10 + - name: Dotnet Restore + run: | + MONITOR_PREFIX="monitor/restore/" MONITOR_CD=./Tests/Stream/Client/ tools/retry.sh -w 60 -- tools/monitor.sh \ + dotnet restore + + - name: Dotnet Build + run: | + MONITOR_PREFIX="monitor/build/" MONITOR_CD=./Tests/Stream/Client/ tools/monitor.sh \ + dotnet build + - name: Run Stream Test timeout-minutes: 4 run: | @@ -666,6 +706,12 @@ jobs: sudo cp terraform/generated/ingress_mtls/server/ca.crt /usr/local/share/ca-certificates/ca_mtls.crt sudo update-ca-certificates + - name: Dotnet Restore + run: dotnet restore Tests/Connectivity/src/ArmoniK.Core.Tests.Connectivity.csproj + + - name: Dotnet Build + run: dotnet build Tests/Connectivity/src/ArmoniK.Core.Tests.Connectivity.csproj + - name: Run connection test run: CA_INSTALLED=${{ matrix.ca }} dotnet test Tests/Connectivity/src/ArmoniK.Core.Tests.Connectivity.csproj --logger "trx;LogFileName=test-results.trx" -p:RunAnalyzers=false -p:WarningLevel=0 diff --git a/.github/workflows/manual-test.yml b/.github/workflows/manual-test.yml index 68a127404..f2433fc8c 100644 --- a/.github/workflows/manual-test.yml +++ b/.github/workflows/manual-test.yml @@ -42,6 +42,16 @@ jobs: 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 \ @@ -100,6 +110,16 @@ jobs: 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 \ @@ -139,6 +159,16 @@ jobs: 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: |