Open Hugo-Pare opened 1 day ago
Possible solution: Create a test database within the GitHub Actions environment using a service container.
database-tests: runs-on: ubuntu-latest services: mysql: image: mysql:latest env: MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD} MYSQL_DATABASE: ${MYSQL_DATABASE} MYSQL_USER: ${MYSQL_USER} ports: - 3306:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
Possible solution: Create a test database within the GitHub Actions environment using a service container.