From 608efba90504bcaf5d6ac1d4e9ce6b0ab699a790 Mon Sep 17 00:00:00 2001 From: Adrienne Stilp Date: Wed, 1 May 2024 16:11:58 -0700 Subject: [PATCH] Readd the mysql service Verified that test was failing for expected reason. --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114b1616..6959644c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,16 +29,16 @@ jobs: mariadb-version: ["10.4"] name: "py${{ matrix.python-version }}-${{ matrix.backend }}-${{ matrix.mariadb-version }}" - # services: - # mysql: - # # Always start mariadb, even if we are testing with the mysql backend. - # # Github actions do not allow conditional services yet. - # image: mariadb:${{ matrix.mariadb-version }} - # ports: - # - 3306:3306 - # env: - # MYSQL_ROOT_PASSWORD: root - # options: --tmpfs /var/lib/mysql + services: + mysql: + # Always start mariadb, even if we are testing with the mysql backend. + # Github actions do not allow conditional services yet. + image: mariadb:${{ matrix.mariadb-version }} + ports: + - 3306:3306 + env: + MYSQL_ROOT_PASSWORD: root + options: --tmpfs /var/lib/mysql env: PYTEST_ADDOPTS: "--maxfail=20" # Stop testing after too many failures.