test draft PR visibility #1142
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: eShop Pull Request Validation | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'src/ClientApp/**' | |
- 'tests/ClientApp.UnitTests/**' | |
- '.github/workflows/pr-validation-maui.yml' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'src/ClientApp/**' | |
- 'tests/ClientApp.UnitTests/**' | |
- '.github/workflows/pr-validation-maui.yml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET (global.json) | |
uses: actions/setup-dotnet@v3 | |
- name: Build | |
run: dotnet build eShop.Web.slnf | |
- name: Test | |
run: dotnet test eShop.Web.slnf |