Skip to content

Commit 3771100

Browse files
committed
Update CI and Release workflows to specify project file for build and test commands
1 parent 663c4e4 commit 3771100

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
shell: bash
2929

3030
- name: Build projects
31-
run: dotnet build
31+
run: dotnet build ./all.csproj
3232
shell: bash
3333

3434
- name: Run tests
35-
run: dotnet test /p:BuildTestOnly=true
35+
run: dotnet test ./all.csproj /p:BuildTestOnly=true
3636
shell: bash

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
3535
- name: Build projects
3636
shell: bash
37-
run: dotnet build -c Release
37+
run: dotnet build ./all.csproj -c Release
3838

3939
- name: Pack
4040
shell: bash
4141
run: |
42-
dotnet pack \
42+
dotnet pack ./all.csproj \
4343
-c Release -o \
4444
./out --no-build \
4545
--include-symbols \

test/Test.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<PackageReference Include="FluentAssertions" />
1515
<PackageReference Include="Moq" />
1616
<PackageReference Include="coverlet.collector" />
17+
<PackageReference Include="Snapshooter.Xunit" />
1718
</ItemGroup>
1819

1920
</Project>

0 commit comments

Comments
 (0)