feat: add support for access packages in policy editor #5385
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-and-db-integration-tests: | |
name: Run integration tests against actual gitea and db | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: false | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
9.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)|(Category=DbIntegrationTest)" -v m |