Test to use custom actions for db installs
This commit is contained in:
parent
24b103b7e0
commit
3f96246cd5
1 changed files with 5 additions and 12 deletions
15
.github/workflows/pythonpackage.yml
vendored
15
.github/workflows/pythonpackage.yml
vendored
|
|
@ -17,19 +17,12 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.5, 3.6, 3.7, 3.8]
|
python-version: [3.5, 3.6, 3.7, 3.8]
|
||||||
TESTING_DB: [sqlite3, postgresql, mysql]
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup MySQL
|
||||||
|
uses: mirrmutth/mysql-qction@1.1
|
||||||
|
- name: Setup PosgrSQL
|
||||||
|
uses: Harmon758/postgresql-action@v1.0.0
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue