Skip to content

Commit

Permalink
Create specific action for master push
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Feb 21, 2024
1 parent 22be69e commit 16bd2f5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Build

on:
pull_request:

push:
branches: [ master ]

jobs:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR

on:

pull_request:
branches: [ master ]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1

steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Test
run: dotnet test ./Irony.Tests/040.Irony.Tests.VsTest.csproj -c release

0 comments on commit 16bd2f5

Please sign in to comment.