From 24b103b7e02c4784e930d86267f8ee81434569a5 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 16 May 2020 22:36:47 +0200 Subject: [PATCH] Test setting up databases for github actions --- .github/workflows/pythonpackage.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 635199e8fc..cb6adf646d 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -1,7 +1,7 @@ # This Evennia workflow will install Python dependencies, run tests with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Evennia +name: Evennia test-suite and coveralls on: push: @@ -17,6 +17,16 @@ jobs: matrix: python-version: [3.5, 3.6, 3.7, 3.8] TESTING_DB: [sqlite3, postgresql, mysql] + services: + postgres: + image: postgres + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + mysql: + image: mysql steps: - uses: actions/checkout@v2