Skip to content

Commit

Permalink
one more try at a connection string for pyodbc
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbuckley committed Jan 15, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent dd73f3d commit 8b7d962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ jobs:
sudo apt-get update
# Accept the EULA and install msodbcsql18
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc
- name: Run Pytest with the matrix database
run: |
@@ -79,7 +79,7 @@ jobs:
elif [[ "${{ matrix.database }}" == "mysql" ]]; then
export TEST_DB_URI=mysql+pymysql://root:pw@localhost:3306/mysql
elif [[ "${{ matrix.database }}" == "sqlserver" ]]; then
export TEST_DB_URI=mssql+pyodbc://sa:YourStrong!Passw0rd@localhost:1433/master?driver=ODBC+Driver+18+for+SQL+Server
export TEST_DB_URI=mssql+pyodbc://sa:YourStrong!Passw0rd@localhost:1433/master?driver=ODBC+Driver+18+for+SQL+Server&TrustServerCertificate=yes
fi
pytest --cov=recordlinker tests/unit

0 comments on commit 8b7d962

Please sign in to comment.