From d63f31adb124c6cd2eabf95340638acf7570539e Mon Sep 17 00:00:00 2001 From: Dominion Date: Tue, 13 Jun 2023 01:43:33 -0400 Subject: [PATCH 1/2] CodeCov settings cleanup Possibly fixes #1541 --- .codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.codecov.yml b/.codecov.yml index 777b4a5514..c522808d55 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -8,4 +8,8 @@ coverage: comment: layout: "header, diff, changes" ignore: + - "src/Tgstation.Server.Host/Database/Design" - "src/Tgstation.Server.Host/Database/Migrations" +codecov: + max_report_age: off + require_ci_to_pass: no From ca84aca54c45f6ec7b7ab09163ddb68d28492caf Mon Sep 17 00:00:00 2001 From: Dominion Date: Tue, 13 Jun 2023 08:12:43 -0400 Subject: [PATCH 2/2] Check for LocalDB failures early Fixes #1539 --- .github/workflows/ci-suite.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci-suite.yml b/.github/workflows/ci-suite.yml index 728bebfcaa..2b5927e4ad 100644 --- a/.github/workflows/ci-suite.yml +++ b/.github/workflows/ci-suite.yml @@ -290,6 +290,13 @@ jobs: BYOND_MAJOR: 514 BYOND_MINOR: 1588 steps: + - name: Wait for LocalDB Connection # Do this first because we don't want to find out it's failing later + shell: powershell + if: ${{ matrix.database-type == 'SqlServer' }} + run: | + Write-Host "Checking" + sqlcmd -l 600 -S "(localdb)\MSSQLLocalDB" -Q "SELECT @@VERSION;" + - name: Setup dotnet uses: actions/setup-dotnet@v2 with: