Skip to content

Commit

Permalink
Merge pull request #324 from schemahero/sqlite-fix-test
Browse files Browse the repository at this point in the history
Update sqlite3 tests to be compatible with the latest sqlite3 image
  • Loading branch information
marccampbell committed Feb 8, 2021
2 parents 3f5ec9e + 72871bf commit 8752e3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/tests/sqlite/common.mk
Expand Up @@ -12,6 +12,8 @@ run:
touch ./db/db.db
docker pull keinos/sqlite3:latest
docker run --rm -v `pwd`/db:/db --name $(DATABASE_CONTAINER_NAME) keinos/sqlite3:latest sqlite3 /db/db.db
chmod a+w db # give the "sqlite" user in the container permissions
chmod a+w db/db.db # and permission to the file
docker run --rm -v `pwd`/db:/db -v `pwd`/fixtures.sql:/fixtures.sql --name $(DATABASE_CONTAINER_NAME) keinos/sqlite3:latest sqlite3 /db/db.db ".read /fixtures.sql"

# Plan
Expand Down

0 comments on commit 8752e3b

Please sign in to comment.