File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,22 @@ jobs:
3838 ports :
3939 # Maps tcp port 5432 on service container to the host
4040 - 5432:5432
41- volumes :
42- - ${{ github.workspace }}/prospector/ddl:/docker-entrypoint-initdb.d
41+ # volumes:
42+ # - ${{ github.workspace }}/prospector/ddl:/docker-entrypoint-initdb.d
4343 steps :
44- - uses : actions/checkout@v3
44+ - name : Checkout code
45+ uses : actions/checkout@v3
46+ - name : Install PostgreSQL client
47+ run : |
48+ sudo apt-get update
49+ sudo apt-get install --yes postgresql-client
50+
51+ - name : Set up Postgres tables
52+ run : |
53+ psql -h localhost -U postgres -d postgres -f prospector/ddl/10_commit.sql
54+ psql -h localhost -U postgres -d postgres -f prospector/ddl/20_users.sql
55+ env :
56+ PGPASSWORD : example
4557 - name : Set up Python 3.10
4658 uses : actions/setup-python@v4
4759 with :
You can’t perform that action at this time.
0 commit comments