Skip to content

Fix scaling issues #234

Fix scaling issues

Fix scaling issues #234

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v2
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100
- name: Setup .NET Core 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
include-prerelease: true
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Debug --no-restore
- name: Pull docker image
run: docker pull jaredpar/runfo:v0.1.0
- name: Run docker image
run: docker run --rm -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password@0" -p 1433:1433 --name sql-runfo-test -h sql1 -d jaredpar/runfo:v0.1.0
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Stop docker image
run: docker kill sql-runfo-test