Refactor TileController to remove unused code and improve performance #2665
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: FunderMaps Ecosystem | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- 'feature/**' | |
pull_request: | |
branches: | |
- master | |
- develop | |
env: | |
DOTNET_VERSION: '8.0' | |
BUILD_CONFIG: Release | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Print version | |
run: | | |
find src -type f -exec sed -i "s/@@VERSION@@/$(git describe --long --always)/" {} + | |
find src -type f -exec sed -i "s/@@COMMIT@@/$(git rev-parse HEAD)/" {} + | |
- name: Build | |
run: dotnet build --nologo --configuration ${{ env.BUILD_CONFIG }} --no-restore | |
- name: Testing Webservice | |
run: dotnet test --nologo --configuration ${{ env.BUILD_CONFIG }} --no-restore --filter FunderMaps.Webservice.Tests | |
env: | |
ASPNETCORE_ENVIRONMENT: Production | |
UseExternalServices: False | |
Jwt__Issuer: "FunderMapsTest" | |
Jwt__Audience: "FunderMapsTest" | |
Jwt__TokenValidity: 10 | |
Jwt__SignatureKey: somelargetextstringusedinsignatures | |
Incident__ClientId: 42 | |
Incident__Recipients__0: info@example.com | |
Authentication__Cookie__Name: FunderMaps.Authentication.Realm | |
Authentication__Cookie__Domain: localhost | |
DataProtection__ApplicationName: FunderMapsTest | |
ConnectionStrings__FunderMapsConnection: "Server=localhost;Database=fundermaps;User Id=fundermaps_webapp" | |
# - name: Testing Portal | |
# run: dotnet test --nologo --configuration ${{ env.BUILD_CONFIG }} --no-restore --filter FunderMaps.IntegrationTests.Portal | |
# env: | |
# ASPNETCORE_ENVIRONMENT: Production | |
# UseExternalServices: False | |
# Jwt__Issuer: "FunderMapsTest" | |
# Jwt__Audience: "FunderMapsTest" | |
# Jwt__TokenValidity: 10 | |
# Jwt__SignatureKey: somelargetextstringusedinsignatures | |
# Incident__ClientId: 42 | |
# Incident__Recipients__0: info@example.com | |
# ConnectionStrings__FunderMapsConnection: "Server=localhost;Database=fundermaps;User Id=fundermaps_portal" | |
# - name: Testing Webservice | |
# run: dotnet test --nologo --configuration ${{ env.BUILD_CONFIG }} --no-restore --filter FunderMaps.IntegrationTests.Webservice | |
# env: | |
# ASPNETCORE_ENVIRONMENT: Production | |
# UseExternalServices: False | |
# Jwt__Issuer: "FunderMapsTest" | |
# Jwt__Audience: "FunderMapsTest" | |
# Jwt__TokenValidity: 10 | |
# Jwt__SignatureKey: somelargetextstringusedinsignatures | |
# Incident__ClientId: 42 | |
# Incident__Recipients__0: info@example.com | |
# ConnectionStrings__FunderMapsConnection: "Server=localhost;Database=fundermaps;User Id=fundermaps_webservice" |