File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 30
30
31
31
- name : install DuckDB
32
32
run : |
33
+ set -eux -o pipefail
33
34
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
35
37
36
38
- run : npm install
37
39
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ env | grep '^PG' || true
11
11
unzip -q -j -n amtrak-gtfs-2021-10-06.zip -d amtrak-gtfs-2021-10-06
12
12
ls -lh amtrak-gtfs-2021-10-06
13
13
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"
15
15
16
16
../cli.js -d --trips-without-shape-id \
17
17
--import-metadata \
Original file line number Diff line number Diff line change 8
8
9
9
env | grep ' ^PG' || true
10
10
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"
12
12
13
13
../cli.js -d --trips-without-shape-id -- \
14
14
" $path_to_db " \
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ env | grep '^PG' || true
11
11
unzip -q -j -n amtrak-gtfs-2021-10-06.zip -d amtrak-gtfs-2021-10-06
12
12
ls -lh amtrak-gtfs-2021-10-06
13
13
14
- db_dir=" $( mktemp -d -t gtfs) "
14
+ db_dir=" $( mktemp -d -t gtfs.XXX ) "
15
15
path_to_db1=" $db_dir /multiple-schemas-1.duckdb"
16
16
path_to_db2=" $db_dir /multiple-schemas-2.duckdb"
17
17
Original file line number Diff line number Diff line change 9
9
env | grep ' ^PG' || true
10
10
11
11
# 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"
13
13
# path_to_db=':memory:'
14
14
15
15
# todo: what about [email protected] ?
You can’t perform that action at this time.
0 commit comments