Skip to content

Commit fb41991

Browse files
committed
try to fix path of load-data.sql: under /github/workspace
1 parent 7a27576 commit fb41991

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install -y postgresql-client
38-
PGPASSWORD="postgres" psql -U postgres -d postgres < ./tests/load-data.sql
38+
PGPASSWORD="postgres" psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
3939
- uses: actions/checkout@v1
4040
- uses: actions-rs/toolchain@v1
4141
with:

.github/workflows/stable-test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,11 @@ 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: get path
43-
run: |
44-
pwd
45-
ls -lh
46-
ls -lh tests
4742
- name: load test data
4843
run: |
4944
sudo apt-get update
5045
sudo apt-get install -y postgresql-client
51-
PGPASSWORD="postgres" psql -U postgres -d postgres < ./tests/load-data.sql
46+
PGPASSWORD="postgres" psql -U postgres -d postgres < /github/workspace/tests/load-data.sql
5247
- uses: actions/checkout@v1
5348
- uses: actions-rs/toolchain@v1
5449
with:

0 commit comments

Comments
 (0)