summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/.github/workflows/pull-request-test.yml
blob: e483e3c69b441e6b3404cb9c9b43d311b6a7faa2 (plain)
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
31
32
################################################################################
### Pull Request Test
### Executes tests to ensure that the pull request being submitted is valid.
###     - Only runs on pull requests made to the `develop` branch
###     - Only runs if the pull request was opened or synchronized
################################################################################
name: Pull Request Test

on:
  pull_request:
    branches:
      - develop
      - main
    types:
      - opened
      - synchronize

jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - name: Clone Repository
        uses: actions/checkout@v4

      - name: Setup DotNet
        uses: actions/setup-dotnet@v4
        with:
          dotnet-version: 6.0.x

      - name: Test MonoGame.Extended
        run: dotnet test --nologo --verbosity minimal --configuration Release