Skip to content

Created AllocationAmountsView To See Allocation Amounts Grouped By Site #29

Created AllocationAmountsView To See Allocation Amounts Grouped By Site

Created AllocationAmountsView To See Allocation Amounts Grouped By Site #29

Workflow file for this run

name: Pull Request
on:
pull_request:
branches: [ develop, master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: source
steps:
- name: checkout
uses: actions/checkout@v3
- name: create-database-container
run: docker compose -f ci-compose.yml up -d
working-directory: .github
- name: setup-dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: restore-dependencies
run: dotnet restore
- name: build-solution
run: dotnet build --no-restore
- name: create-database
run: docker exec -i mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'DevP@ssw0rd!' -Q 'create database WaDE2'
- name: update-database
run: dotnet run --args "Server=localhost; Initial Catalog=WaDE2; User=sa; Password=DevP@ssw0rd!;"
working-directory: source/WesternStatesWater.WaDE.DbUp
- name: run-tests
run: dotnet test
env:
ConnectionStrings__WadeDatabase: "Server=localhost; Initial Catalog=WaDE2; User=sa; Password=DevP@ssw0rd!; MultipleActiveResultSets=False;TrustServerCertificate=true;"