Skip to content

Commit

Permalink
Add restore step for test project in release workflow
Browse files Browse the repository at this point in the history
Added a new step in `release.yml` to restore dependencies for the test project before the build and test steps. This ensures that the test project's dependencies are properly restored, maintaining the integrity and consistency of the build process.
  • Loading branch information
Majid Shahabfar authored and Majid Shahabfar committed Nov 19, 2024
1 parent 212a143 commit e4a71b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: Build
run: dotnet build src/Univertall/Univertall.csproj --configuration Release --no-restore

- name: Restore test project dependencies
run: dotnet restore tests/Univertall.Tests/Univertall.Tests.csproj

- name: Test
run: dotnet test --no-restore --verbosity normal

Expand Down

0 comments on commit e4a71b2

Please sign in to comment.