ci: restore SQLX_OFFLINE, include sqlx cache from tests
This commit is contained in:
1
.github/workflows/backend.yml
vendored
1
.github/workflows/backend.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DATABASE_URL: postgres://postgres:pass@localhost:5432/loft_test
|
DATABASE_URL: postgres://postgres:pass@localhost:5432/loft_test
|
||||||
STORAGE_PATH: /tmp/loft-files-test
|
STORAGE_PATH: /tmp/loft-files-test
|
||||||
|
SQLX_OFFLINE: "true"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
12
backend/.sqlx/query-8d748aed024e0cbc9b76d14dc0a360a783d4127f6f7ad8e35bd032a04b468760.json
generated
Normal file
12
backend/.sqlx/query-8d748aed024e0cbc9b76d14dc0a360a783d4127f6f7ad8e35bd032a04b468760.json
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "TRUNCATE TABLE file_records",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": []
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "8d748aed024e0cbc9b76d14dc0a360a783d4127f6f7ad8e35bd032a04b468760"
|
||||||
|
}
|
||||||
12
backend/.sqlx/query-c8306a534d01d25b7cbb6542ea5461e47b1b7beb18d3652fd7e86ce33877661a.json
generated
Normal file
12
backend/.sqlx/query-c8306a534d01d25b7cbb6542ea5461e47b1b7beb18d3652fd7e86ce33877661a.json
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "TRUNCATE TABLE users CASCADE",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": []
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "c8306a534d01d25b7cbb6542ea5461e47b1b7beb18d3652fd7e86ce33877661a"
|
||||||
|
}
|
||||||
12
backend/.sqlx/query-da57fb27f91b9ed20ad80b479dc410bee294e9f31f9073170788a2822eb865df.json
generated
Normal file
12
backend/.sqlx/query-da57fb27f91b9ed20ad80b479dc410bee294e9f31f9073170788a2822eb865df.json
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"db_name": "PostgreSQL",
|
||||||
|
"query": "TRUNCATE TABLE sessions",
|
||||||
|
"describe": {
|
||||||
|
"columns": [],
|
||||||
|
"parameters": {
|
||||||
|
"Left": []
|
||||||
|
},
|
||||||
|
"nullable": []
|
||||||
|
},
|
||||||
|
"hash": "da57fb27f91b9ed20ad80b479dc410bee294e9f31f9073170788a2822eb865df"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user