Skip to content

Commit 535fd9e

Browse files
Merge pull request AristurtleDev#5 from AristurtleDev/maintenance/pr-test-workflow
Add workflow to run tests for develop PRs
2 parents cd25c5c + 4e8cddc commit 535fd9e

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
################################################################################
2+
### Pull Request Validation
3+
### Runs unit tests on pull requests targeting the develop branch.
4+
################################################################################
5+
name: "Pull Request Validation"
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- develop
11+
12+
jobs:
13+
test:
14+
name: "Run Tests"
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Clone Repository
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Dotnet
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
dotnet-version: 9.0.x
25+
26+
- name: Test Forme
27+
run: dotnet test tests/Forme.Tests/Forme.Tests.csproj --nologo --verbosity minimal --configuration Release
28+
29+
- name: Test Forme.Content.Pipeline
30+
run: dotnet test tests/Forme.Content.Pipeline.Tests/Forme.Content.Pipeline.Tests.csproj --nologo --verbosity minimal --configuration Release

0 commit comments

Comments
 (0)