Test setting up databases for github actions

This commit is contained in:
Griatch 2020-05-16 22:36:47 +02:00 committed by GitHub
parent 2616bd5ab5
commit 24b103b7e0

View file

@ -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