| 1234567891011121314151617181920212223242526272829303132333435363738 |
- ################################################################################
- ### 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: 8.0.x
- - name: Setup xvfb
- run: |
- sudo apt-get update
- sudo apt-get install -y xvfb
- - name: Test MonoGame.Extended
- run: |
- xvfb-run -a -s "-screen 0 1024x768x24" dotnet test MonoGame.Extended.sln --nologo --verbosity minimal --configuration Release
|