We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 391de9f commit 9affd62Copy full SHA for 9affd62
1 file changed
.github/workflows/basket-api.yml
@@ -21,6 +21,7 @@ on:
21
env:
22
SERVICE: basket-api
23
IMAGE: basket.api
24
+ DOTNET_VERSION: 5.0.x
25
26
jobs:
27
@@ -45,6 +46,20 @@ jobs:
45
46
steps:
47
- name: 'Checkout Github Action'
48
uses: actions/checkout@master
49
+
50
+ - name: Setup dotnet
51
+ uses: actions/setup-dotnet@v1
52
+ with:
53
+ dotnet-version: ${{ env.DOTNET_VERSION }}
54
55
+ - name: Build and run unit tests
56
+ run: |
57
+ dotnet restore "eShopOnContainers-ServicesAndWebApps.sln"
58
+ cd /src/Services/Catalog/Catalog.API
59
+ dotnet build --no-restore
60
+ cd -
61
+ cd src/Services/Catalog/Catalog.UnitTests
62
+ dotnet test
63
64
- name: Enable experimental features for the Docker daemon and CLI
65
run: |
0 commit comments