initial build pipeline #2
Workflow file for this run
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
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@v4 | |
## 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 |