-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: run tool separately, without restore tool dependencies (#29)
- Loading branch information
1 parent
69198d1
commit a8942e4
Showing
1 changed file
with
28 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
with: | ||
lfs: true | ||
fetch-depth: 0 | ||
- name: Install .NET Core SDK | ||
uses: actions/[email protected] | ||
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 | ||
|