Merge pull request #83 from grillazz/ci-test

test ci
This commit is contained in:
Jakub Miazek 2023-03-27 21:45:53 +02:00 committed by GitHub
commit d09d456d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
name: Continuous Disaster...
name: CI
on:
pull_request:
@ -37,10 +37,10 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- name: Create database schema
run: PGPASSWORD=secret psql -h 127.0.0.1 -d testdb -U app-user -c "CREATE SCHEMA shakespeare; CREATE SCHEMA happy_hog;"
- uses: actions/checkout@v3
uses: actions/setup-python@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry

View File

@ -66,3 +66,4 @@ class Base:
for k, v in kwargs.items():
setattr(self, k, v)
await self.save(db_session)