mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Test setting up databases for github actions
This commit is contained in:
parent
2616bd5ab5
commit
24b103b7e0
1 changed files with 11 additions and 1 deletions
12
.github/workflows/pythonpackage.yml
vendored
12
.github/workflows/pythonpackage.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue