forked from AristurtleDev/Forme
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (24 loc) · 926 Bytes
/
pull-request.yml
File metadata and controls
30 lines (24 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
################################################################################
### Pull Request Validation
### Runs unit tests on pull requests targeting the develop branch.
################################################################################
name: "Pull Request Validation"
on:
pull_request:
branches:
- develop
jobs:
test:
name: "Run Tests"
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Setup Dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Test Forme
run: dotnet test tests/Forme.Tests/Forme.Tests.csproj --nologo --verbosity minimal --configuration Release
- name: Test Forme.Content.Pipeline
run: dotnet test tests/Forme.Content.Pipeline.Tests/Forme.Content.Pipeline.Tests.csproj --nologo --verbosity minimal --configuration Release