Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 6 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ jobs:
runs-on: windows-latest
env:
DATABASE_URL_ESSARCH: 'mssql://SA:MyPassword42@localhost:1433/essarch?CONN_MAX_AGE=100&CONN_HEALTH_CHECKS=True&isolation_level=read committed&driver=ODBC Driver 18 for SQL Server&extra_params=TrustServerCertificate=yes'

steps:
- uses: actions/checkout@v6

Expand All @@ -165,7 +166,7 @@ jobs:
- name: Cache pip wheels
uses: actions/cache@v5
with:
path: ${{ env.LOCALAPPDATA }}\pip\Cache
path: C:\Users\runneradmin\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
Expand All @@ -176,19 +177,7 @@ jobs:
path: C:\installers
key: windows-installers-gtk3-3.24.31-odbc18

- name: Cache Chocolatey packages
uses: actions/cache@v5
with:
path: C:\ProgramData\chocolatey\lib
key: ${{ runner.os }}-choco-${{ hashFiles('.github/workflows/*.yml') }}

- name: Cache Chocolatey downloads
uses: actions/cache@v5
with:
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
key: ${{ runner.os }}-choco-downloads

- name: Install system dependencies (cached)
- name: Install system dependencies
id: deps
run: |
if (!(Get-Service -Name 'MSSQLSERVER' -ErrorAction SilentlyContinue)) {
Expand All @@ -210,8 +199,6 @@ jobs:
choco install redis-64 --version 3.0.503 -y
}

- name: Install
run: |
if (!(Test-Path "C:\installers")) {
New-Item -ItemType Directory -Path "C:\installers"
}
Expand Down Expand Up @@ -241,8 +228,10 @@ jobs:
if (-not $odbcInstalled) {
Write-Error "ODBC installation failed!"
exit 1
}
}

- name: Install
run: |
python -m pip install --upgrade pip wheel setuptools
git config user.email test
git config user.name test
Expand Down
Loading