From 4412981c639aaa20c7d546d9a5dd27100a3e3e1d Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 27 Aug 2024 13:48:28 +0200 Subject: [PATCH] Add services to Linux --- .github/workflows/conda.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index e6e1060b..97ece8a4 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -38,6 +38,35 @@ jobs: fail-fast: false matrix: environment: ["py310-pa13"] + services: + postgres: + image: postgres:11 + options: + hostname: postgres + ports: + - 5432:5432 + env: + POSTGRES_PASSWORD: password + POSTGRES_USER: postgres + POSTGRES_DB: test_db + mysql: + # test do not run with a newer mysql at the moment + image: mysql:5.6 + command: --default-authentication-plugin=mysql_native_password + env: + MYSQL_ROOT_PASSWORD: StrongPassword1 + MYSQL_USER: mysqluser + MYSQL_PASSWORD: password + MYSQL_DATABASE: test_db + ports: + - 3306:3306 + mssql: + image: mcr.microsoft.com/mssql/server:2017-latest + env: + ACCEPT_EULA: Y + SA_PASSWORD: StrongPassword1 + ports: + - 1433:1433 steps: - name: Checkout branch uses: actions/checkout@v4