Skip to content

Commit

Permalink
Import data from the files
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Dec 18, 2024
1 parent 186be44 commit 09b2fc0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ jobs:
- name: Setup Docker
uses: docker/setup-buildx-action@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Python Dependencies
run: |
pip install psycopg2-binary pandas sqlalchemy
- name: Start PostgreSQL
working-directory: static/relational/postgres
run: |
Expand All @@ -29,6 +38,15 @@ jobs:
sleep 2
done
- name: Load Data into PostgreSQL
working-directory: static/relational/postgres
run: |
python import-data.py ../../../relational/dataset \
--database postgres \
--user postgres \
--port 5433 \
--password postgres
- name: Setup NDC Postgres
working-directory: static/relational/postgres
env:
Expand Down

0 comments on commit 09b2fc0

Please sign in to comment.