pull-request-test.yml 897 B

1234567891011121314151617181920212223242526272829303132
  1. ################################################################################
  2. ### Pull Request Test
  3. ### Executes tests to ensure that the pull request being submitted is valid.
  4. ### - Only runs on pull requests made to the `develop` branch
  5. ### - Only runs if the pull request was opened or synchronized
  6. ################################################################################
  7. name: Pull Request Test
  8. on:
  9. pull_request:
  10. branches:
  11. - develop
  12. - main
  13. types:
  14. - opened
  15. - synchronize
  16. jobs:
  17. test:
  18. runs-on: ubuntu-latest
  19. steps:
  20. - name: Clone Repository
  21. uses: actions/checkout@v4
  22. - name: Setup DotNet
  23. uses: actions/setup-dotnet@v4
  24. with:
  25. dotnet-version: 8.0.x
  26. - name: Test MonoGame.Extended
  27. run: dotnet test MonoGame.Extended.sln --nologo --verbosity minimal --configuration Release