Skip to content

Commit 2e514a7

Browse files
committed
adapt CI [f]
1 parent ff4ba80 commit 2e514a7

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030

3131
- name: install DuckDB
3232
run: |
33+
set -eux -o pipefail
3334
curl -fsSL -U '${{ github.repository }} CI' 'https://install.duckdb.org' | sh
34-
export PATH="$HOME/.duckdb/cli/latest:$PATH"
35+
echo "$HOME/.duckdb/cli/latest" >>"$GITHUB_PATH"
36+
~/.duckdb/cli/latest/duckdb --version
3537
3638
- run: npm install
3739

test/amtrak-gtfs-2021-10-06.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env | grep '^PG' || true
1111
unzip -q -j -n amtrak-gtfs-2021-10-06.zip -d amtrak-gtfs-2021-10-06
1212
ls -lh amtrak-gtfs-2021-10-06
1313

14-
path_to_db="$(mktemp -d -t gtfs)/amtrak-gtfs-2021-10-06.duckdb"
14+
path_to_db="$(mktemp -d -t gtfs.XXX)/amtrak-gtfs-2021-10-06.duckdb"
1515

1616
../cli.js -d --trips-without-shape-id \
1717
--import-metadata \

test/calendar-dates-only.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -x
88

99
env | grep '^PG' || true
1010

11-
path_to_db="$(mktemp -d -t gtfs)/calendar-dates-only.duckdb"
11+
path_to_db="$(mktemp -d -t gtfs.XXX)/calendar-dates-only.duckdb"
1212

1313
../cli.js -d --trips-without-shape-id -- \
1414
"$path_to_db" \

test/multiple-datasets.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env | grep '^PG' || true
1111
unzip -q -j -n amtrak-gtfs-2021-10-06.zip -d amtrak-gtfs-2021-10-06
1212
ls -lh amtrak-gtfs-2021-10-06
1313

14-
db_dir="$(mktemp -d -t gtfs)"
14+
db_dir="$(mktemp -d -t gtfs.XXX)"
1515
path_to_db1="$db_dir/multiple-schemas-1.duckdb"
1616
path_to_db2="$db_dir/multiple-schemas-2.duckdb"
1717

test/sample-gtfs-feed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -x
99
env | grep '^PG' || true
1010

1111
# path_to_db="sample-gtfs-feed.duckdb"
12-
path_to_db="$(mktemp -d)/sample-gtfs-feed.duckdb"
12+
path_to_db="$(mktemp -d -t gtfs.XXX)/sample-gtfs-feed.duckdb"
1313
# path_to_db=':memory:'
1414

1515
# todo: what about [email protected]?

0 commit comments

Comments
 (0)