mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-10-26 03:09:02 +08:00
Fix invalid byte sequence error when running test_script.sh in some cases (#423)
This fixes the following error that may occur: argument parsing failed: Invalid byte sequence in conversion input
This commit is contained in:
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@@ -1,5 +1,7 @@
|
||||
name: build
|
||||
on: [ push, pull_request ]
|
||||
env:
|
||||
TEST_DATA_URL: https://github.com/mdbtools/mdbtestdata/archive/refs/heads/master.tar.gz
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -14,7 +16,10 @@ jobs:
|
||||
run: sudo apt install gettext
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@@ -24,7 +29,7 @@ jobs:
|
||||
- name: Make
|
||||
run: make
|
||||
- name: CLI tests
|
||||
run: bash -e -x ./test_script.sh
|
||||
run: ./test_script.sh
|
||||
- name: SQL tests
|
||||
run: bash -e -x ./test_sql.sh
|
||||
- name: ODBC tests
|
||||
@@ -52,7 +57,10 @@ jobs:
|
||||
run: brew install bison gawk automake
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@@ -63,7 +71,7 @@ jobs:
|
||||
- name: Make
|
||||
run: make
|
||||
- name: CLI tests
|
||||
run: bash -e -x ./test_script.sh
|
||||
run: ./test_script.sh
|
||||
- name: SQL tests
|
||||
run: bash -e -x ./test_sql.sh
|
||||
- name: ODBC tests
|
||||
@@ -94,7 +102,10 @@ jobs:
|
||||
run: echo /usr/local/opt/libiodbc/bin >> $GITHUB_PATH
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fetch test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@@ -129,8 +140,11 @@ jobs:
|
||||
git
|
||||
glib2-devel
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check out test data
|
||||
run: git clone https://github.com/mdbtools/mdbtestdata.git test
|
||||
- name: Fetch test data
|
||||
run: |
|
||||
rm -rf test
|
||||
mkdir test
|
||||
curl -sSLf "$TEST_DATA_URL" | tar xz --strip-components=1 -C test
|
||||
- name: Autoconf
|
||||
run: autoreconf -i -f
|
||||
- name: Configure
|
||||
@@ -138,6 +152,6 @@ jobs:
|
||||
- name: Make
|
||||
run: make
|
||||
- name: Test
|
||||
run: bash -e -x ./test_script.sh
|
||||
run: ./test_script.sh
|
||||
- name: SQL Test
|
||||
run: bash -e -x ./test_sql.sh
|
||||
|
||||
Reference in New Issue
Block a user