fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job (#41)
Reviewed-on: #41 Co-authored-by: David Gwilliam <dhgwilliam@gmail.com> Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
This commit was merged in pull request #41.
This commit is contained in:
@@ -294,8 +294,8 @@ npm run test
|
||||
# Run acceptance tests
|
||||
npm run test:acceptance
|
||||
|
||||
# Run acceptance tests with SQLite (CI-style)
|
||||
DATABASE_PROVIDER=sqlite DATABASE_URL=file:./prisma/ci.db npm run test:acceptance
|
||||
# Run acceptance tests (CI-style, set DATABASE_URL in your shell)
|
||||
DATABASE_PROVIDER=postgresql DATABASE_URL="your_dev_db_url" npm run test:acceptance
|
||||
```
|
||||
|
||||
### Database Commands
|
||||
@@ -400,8 +400,8 @@ The original attempt to use a pre-built CI runner image with pre-installed depen
|
||||
# Run unit tests (same as CI)
|
||||
npm run test:run
|
||||
|
||||
# Run acceptance tests with SQLite
|
||||
DATABASE_PROVIDER=sqlite DATABASE_URL=file:./prisma/ci.db npm run test:acceptance
|
||||
# Run acceptance tests (set DATABASE_URL in your shell)
|
||||
DATABASE_PROVIDER=postgresql DATABASE_URL="your_dev_db_url" npm run test:acceptance
|
||||
```
|
||||
|
||||
## Docker Deployment
|
||||
|
||||
Reference in New Issue
Block a user