Skip to content

Commit

Permalink
added simpe build pipeline, still need to add nuget publishing, chang…
Browse files Browse the repository at this point in the history
…ed nuget version to alpha for build pipeline testing
  • Loading branch information
Brent Lucas committed Jan 30, 2024
1 parent 7216df6 commit b6865a3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/PullRequestBuild.yml
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageId>CSESoftware.Repository.EntityFrameworkCore</PackageId>
<Authors>CSE Software, Inc.</Authors>
<Copyright>2023 CSE Software, Inc.</Copyright>
<Version>2.4.0</Version>
<Version>2.5.0-alpha1</Version>
<PackageIcon>packageIcon.png</PackageIcon>
<PackageIconUrl />
<Description>The Entity Framework Core implementation of CSESoftware.Repository.</Description>
Expand Down

0 comments on commit b6865a3

Please sign in to comment.