diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 71b254c..445d51a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,8 +52,8 @@ jobs: name: build-artifacts path: "./artifacts" - test: - name: Test (${{ matrix.os }}) + test-tool: + name: Test Tool (${{ matrix.os }}) needs: build strategy: matrix: @@ -71,12 +71,6 @@ jobs: dotnet-version: | 6.0.x 8.0.x - - name: Dotnet Tool Restore - shell: pwsh - run: dotnet tool restore - - name: Dotnet restore - shell: pwsh - run: dotnet restore - name: Download build artifacts uses: actions/download-artifact@v4 with: @@ -89,6 +83,32 @@ jobs: shell: pwsh working-directory: ./src/Atlas.Provider.Demo run: dotnet atlas-ef -- sqlserver + + test: + name: Test (${{ matrix.os }}) + needs: build + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v4.0.0 + with: + lfs: true + fetch-depth: 0 + - name: Install .NET Core SDK + uses: actions/setup-dotnet@v3.2.0 + with: + dotnet-version: | + 6.0.x + 8.0.x + - name: Dotnet Tool Restore + shell: pwsh + run: dotnet tool restore + - name: Dotnet restore + shell: pwsh + run: dotnet restore - name: Dotnet Cake Test shell: pwsh run: dotnet cake --target=Test