Proccess file sync #2779
Workflow file for this run
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: Run gitea integration tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'testdata/**' | |
- 'backend/**' | |
pull_request: | |
branches: [ main ] | |
types: [opened, synchronize, reopened] | |
paths: | |
- 'backend/**' | |
- 'testdata/**' | |
- 'gitea/**' | |
workflow_dispatch: | |
jobs: | |
gitea-integration-tests: | |
name: Run integration tests against actual gitea | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: false | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
6.0.x | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Build | |
run: | | |
dotnet build backend/Designer.sln -v m | |
- name: Test gitea tests | |
run: | | |
dotnet test backend/Designer.sln --filter Category=GiteaIntegrationTest -v m |