Skip to content

Commit

Permalink
pgkit package, pgkit.config.ts, passing tests (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Misha Kaletsky <[email protected]>
  • Loading branch information
mmkal and mmkal authored Sep 20, 2024
1 parent bf9e081 commit ce1b55b
Show file tree
Hide file tree
Showing 60 changed files with 1,548 additions and 1,930 deletions.
44 changes: 0 additions & 44 deletions .eslintrc.js

This file was deleted.

14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
image: postgres:13
env:
PGPORT: '5432'
POSTGRES_USER: postgres
Expand All @@ -36,6 +36,18 @@ jobs:
run: |
echo 'select 123 as test_column \gdesc' | docker exec -i postgres_github_actions psql "postgresql://postgres:postgres@localhost:5432/postgres" -f - | grep 'test_column | integer'
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install python dependencies (for testing migra)
run: |
python -m pip install --upgrade pip
pip install setuptools
pip install migra
pip install psycopg2-binary
migra --help | grep 'Generate a database migration'
migra EMPTY postgresql://postgres:postgres@localhost:5432/postgres --unsafe || echo 'migra exited with an error code - check output'
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
Expand Down
Loading

0 comments on commit ce1b55b

Please sign in to comment.