diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2385fd377..bdcdfee86c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,6 @@ on: env: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_NOLOGO: true - ACTIONS_RUNNER_DEBUG: true - ACTIONS_STEP_DEBUG: true jobs: changes: @@ -62,21 +60,13 @@ jobs: dotnet-version: 8.0.x - name: Install dependencies run: dotnet restore - - name: Format + - name: Check style format run: dotnet format --verify-no-changes --verbosity diagnostic - name: Build Garnet run: dotnet build --configuration ${{ matrix.configuration }} - - name: Test Garnet + - name: Run tests run: dotnet test test/${{ matrix.test }} -f ${{ matrix.framework }} --logger "console;verbosity=detailed" --logger trx --results-directory "GarnetTestResults-${{ matrix.os }}-${{ matrix.framework }}-${{ matrix.configuration }}-${{ matrix.test }}" timeout-minutes: 30 - - name: DEBUG - List test result files and their sizes - run: dir "GarnetTestResults-${{ matrix.os }}-${{ matrix.framework }}-${{ matrix.configuration }}-${{ matrix.test }}" - - name: DEBUG - System Hard Drive space - run: wmic LogicalDisk where DriveType="3" get DeviceID,Size,FreeSpace - if: runner.os == 'Windows' - - name: DEBUG - System Available Memory - run: systeminfo | find "Available Physical Memory" - if: runner.os == 'Windows' - name: Upload test results uses: actions/upload-artifact@v4 with: @@ -124,7 +114,7 @@ jobs: run: dotnet format --verify-no-changes --verbosity diagnostic - name: Build Tsavorite run: dotnet build libs/storage/Tsavorite/cs/test/Tsavorite.test.csproj --configuration ${{ matrix.configuration }} - - name: Test Tsavorite + - name: Run Tsavorite tests run: dotnet test libs/storage/Tsavorite/cs/test/Tsavorite.test.csproj -f ${{ matrix.framework }} --logger "console;verbosity=detailed" --logger trx --results-directory "TsavoriteTestResults-${{ matrix.os }}-${{ matrix.framework }}-${{ matrix.configuration }}" timeout-minutes: 30 - name: Upload test results