add schema create to ci workflow

This commit is contained in:
Jakub Miazek 2022-04-24 18:48:00 +02:00
parent cbdae4da06
commit b2c388807f

View File

@ -24,6 +24,8 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps: steps:
- name: Create database schema
run: psql -h 127.0.0.1 -d testdb -U user -c '\connect testdb; CREATE SCHEMA shakespeare;'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2