Skip to content

Add Versification Cache and Bible Texts utility #1636

Add Versification Cache and Bible Texts utility

Add Versification Cache and Bible Texts utility #1636

Workflow file for this run

name: Pre-merge
on:
pull_request:
branches:
- '**'
permissions:
id-token: write
jobs:
lint_and_test:
name: Lint and test
runs-on: ubuntu-latest
environment:
name: qa-tests
steps:
- name: Checkout source code
uses: actions/[email protected]
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: '9.x'
- name: Build
run: dotnet build --no-incremental --configuration Release /p:WarningsAsErrors=true /warnaserror
- name: Login to Azure
uses: azure/[email protected]
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Test
run: |
dotnet test \
-e ASPNETCORE_ENVIRONMENT="${{ vars.ASPNETCORE_ENVIRONMENT }}" \
-e ConnectionStrings__AzureStorageAccount="${{ secrets.AZURE_STORAGE_ACCOUNT_CONNECTION_STRING }}" \
-e ConnectionStrings__BiblioNexusDb="${{ secrets.BIBLIONEXUS_DB_CONNECTION_STRING }}"