File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,12 @@ jobs:
224224 curl -sSf https://atlasgo.sh | sh
225225 atlas version
226226
227+ - name : Create SQLite database directory
228+ working-directory : taco
229+ run : |
230+ mkdir -p .data
231+ echo "Created .data directory for SQLite database"
232+
227233 - name : Generate migration checksums for SQLite
228234 working-directory : taco
229235 run : |
@@ -233,10 +239,14 @@ jobs:
233239 - name : Apply migrations manually (simulating entrypoint.sh)
234240 working-directory : taco
235241 run : |
236- echo "Applying SQLite migrations... "
242+ echo "Applying SQLite migrations to ${{ github.workspace }}/taco/.data/test.db "
237243 atlas migrate apply \
238- --url "sqlite://test.db" \
244+ --url "sqlite://${{ github.workspace }}/taco/.data/ test.db" \
239245 --dir "file://migrations/sqlite"
246+
247+ # Verify database file was created
248+ ls -lh .data/test.db
249+ echo "✅ Migrations applied successfully"
240250
241251 - name : Build statesman binary
242252 working-directory : taco
@@ -247,7 +257,7 @@ jobs:
247257 working-directory : taco
248258 env :
249259 OPENTACO_QUERY_BACKEND : sqlite
250- OPENTACO_SQLITE_PATH : test.db
260+ OPENTACO_SQLITE_PATH : ${{ github.workspace }}/taco/.data/ test.db
251261 OPENTACO_AUTH_DISABLE : true
252262 run : |
253263 # Run binary and capture output
You can’t perform that action at this time.
0 commit comments