From 809710d63632b7375577f9b12c978942f8b73f65 Mon Sep 17 00:00:00 2001 From: Chenglim Ear Date: Fri, 3 Nov 2023 10:42:08 -0700 Subject: [PATCH] download new netfile csvs before import --- .github/workflows/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 984ee5cfd..96e37d292 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -90,14 +90,13 @@ jobs: - name: Create csv files run: | make clean + # Create new netfile csv files + python download/main.py make download make import make process - name: Summarize results run: | - psql --query "SELECT * FROM pg_catalog.pg_tables WHERE schemaname != 'pg_catalog' AND schemaname != 'information_schema';" - - name: Create new netfile csv files - run: | - # move the following up to download section when it's working - python download/main.py + echo "List tables" + psql -c "SELECT * FROM pg_catalog.pg_tables WHERE schemaname != 'pg_catalog' AND schemaname != 'information_schema';"