Skip to content

Commit

Permalink
revert sqlite changes
Browse files Browse the repository at this point in the history
Lost flags test output, odd
  • Loading branch information
timabell committed Jan 30, 2024
1 parent 6bc24f3 commit 33073f8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,33 @@ jobs:
- name: Install dependencies
run: go get .

- name: Setup - sqlite
working-directory: sqlite
run: ./setup.sh

- name: Test - sqlite flags
run: |
pushd .
cd sqlite
./setup.sh
file="`pwd`/db/test.db" # relative path hack with pwd, otherwise not resolved.
popd
go clean -testcache
go test -v sse_test.go \
--driver=sqlite \
--display-name=testing-flags \
--live=true \
--listen-on-port=9999 \
--sqlite-file="`pwd`/sqlite/db/test.db" \
--sqlite-file="$file" \
2>&1 | go-junit-report -iocopy -set-exit-code -out results-sqlite-flags-${{ matrix.go-version }}.xml
- name: Setup - sqlite (2)
working-directory: sqlite
run: ./setup.sh

- name: Test - sqlite env
env:
schemaexplorer_driver: sqlite
schemaexplorer_live: false
run: |
export schemaexplorer_sqlite_file="`pwd`/sqlite/db/test.db"
pushd .
cd sqlite
./setup.sh
file="`pwd`/db/test.db" # relative path hack with pwd, otherwise not resolved.
export schemaexplorer_sqlite_file="$file"
popd
go clean -testcache
go test -v sse_test.go \
2>&1 | go-junit-report -iocopy -set-exit-code -out results-sqlite-env-${{ matrix.go-version }}.xml
Expand Down

0 comments on commit 33073f8

Please sign in to comment.