Skip to content

Commit

Permalink
Readd the mysql service
Browse files Browse the repository at this point in the history
Verified that test was failing for expected reason.
  • Loading branch information
amstilp committed May 1, 2024
1 parent ac1d036 commit 608efba
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 608efba

Please sign in to comment.