Created AllocationAmountsView To See Allocation Amounts Grouped By Site #29
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: 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;" |