File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,19 @@ jobs:
3131 # needed because the postgres container does not provide a healthcheck
3232 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
3333 steps :
34- - name : load test data
34+ - name : Install psql
3535 run : |
3636 sudo apt-get update
3737 sudo apt-get install -y postgresql-client
38- PGPASSWORD="postgres" psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
3938 - uses : actions/checkout@v1
4039 - uses : actions-rs/toolchain@v1
4140 with :
4241 toolchain : nightly
4342 override : true
43+ - name : load test data
44+ run : psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
45+ env :
46+ PGPASSWORD : " postgres"
4447 - name : Run cargo-tarpaulin
4548 uses : actions-rs/tarpaulin@v0.1
4649 with :
Original file line number Diff line number Diff line change @@ -39,17 +39,20 @@ jobs:
3939 # needed because the postgres container does not provide a healthcheck
4040 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
4141 steps :
42- - name : load test data
42+ - name : Install psql
4343 run : |
4444 sudo apt-get update
4545 sudo apt-get install -y postgresql-client
46- PGPASSWORD="postgres" psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
4746 - uses : actions/checkout@v1
4847 - uses : actions-rs/toolchain@v1
4948 with :
5049 profile : minimal
5150 toolchain : ${{ matrix.rust }}
5251 override : true
52+ - name : load test data
53+ run : psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
54+ env :
55+ PGPASSWORD : " postgres"
5356 - name : Run all tests
5457 uses : actions-rs/cargo@v1
5558 with :
You can’t perform that action at this time.
0 commit comments