Skip to content

Commit 6524c15

Browse files
authored
Only dotnet test is needed (#157)
* onmy dotnet test is needed * only dotnet test is needed
1 parent edb717f commit 6524c15

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,8 @@ jobs:
1919
- name: Add AutoMapper Myget Source
2020
run: dotnet nuget add source https://www.myget.org/F/automapperdev/api/v3/index.json -n automappermyget
2121

22-
- name: Restore
23-
run: dotnet restore
24-
25-
- name: Build
26-
run: dotnet build --configuration Release --no-restore
27-
2822
- name: Test
29-
run: dotnet test --no-restore --verbosity normal
23+
run: dotnet test --configuration Release --verbosity normal
3024

3125
- name: Pack and push
3226
env:

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Restore
18-
run: dotnet restore
19-
20-
- name: Build
21-
run: dotnet build --configuration Release --no-restore
22-
2317
- name: Test
24-
run: dotnet test --no-restore --verbosity normal
18+
run: dotnet test --configuration Release --verbosity normal
2519

2620
- name: Pack and push
2721
env:

0 commit comments

Comments
 (0)