PR Validation #155
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: PR Validation | |
on: | |
pull_request: | |
branches: [ dev, main ] | |
# Run every biweekly to discover failures due to environment changes | |
schedule: | |
- cron: '0 0 1,15 * *' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run build and tests | |
run: ./Build.ps1 | |
- name: Upload binaries artifact for InferSharp workflow | |
uses: actions/upload-artifact@v3 | |
with: | |
name: bin-net6 | |
path: src\Serilog.Sinks.MSSqlServer\bin\Release\net6.0 | |
- name: Upload testresults artifact with code coverage file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: testresults | |
path: test\Serilog.Sinks.MSSqlServer.Tests\TestResults |