-
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.
added simpe build pipeline, still need to add nuget publishing, chang…
…ed nuget version to alpha for build pipeline testing
- Loading branch information
Brent Lucas
committed
Jan 30, 2024
1 parent
7216df6
commit b6865a3
Showing
2 changed files
with
28 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Pull Request Build" | ||
|
||
env: | ||
MODERN_SLN: 'src/CSESoftware.Repository.EntityFrameworkCore.sln' | ||
|
||
on: | ||
pull_request: | ||
branches: [ "develop", "release", "master" ] | ||
|
||
jobs: | ||
build: | ||
name: Build and Test | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
## Modern build and test steps | ||
|
||
- name: Build Modern Solution | ||
run: dotnet publish "${{ env.MODERN_SLN }}" --configuration Release --property:FrontEndBuild=Dev | ||
env: | ||
CI: false | ||
|
||
- name: Run Unit Tests on Modern Solution | ||
run: dotnet test "${{ env.MODERN_SLN }}" --no-build --configuration Release --verbosity normal |
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