fix: address performance and security findings
- Add PostgreSQL-backed backend and frontend tests to CI - Harden Android API logging and disable app backups - Update the performance report with resolved findings
This commit is contained in:
1 parent
a84a36349b
commit
937f51b4fb
35 files changed
+2566
-332
No files matched your search
@@ -29,6 +29,21 @@ jobs:
|
||||
working-directory: backend
|
||||
permissions:
|
||||
contents: read
|
||||
# A throwaway database for the handler and sync tests. They create their own
|
||||
# schema in it and drop it again, and are skipped when TEST_DATABASE_URL is unset.
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
env:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: collabtable_test
|
||||
ports:
|
||||
- 5432:5432
|
||||
options: >-
|
||||
--health-cmd "pg_isready -U postgres"
|
||||
--health-interval 5s
|
||||
--health-timeout 5s
|
||||
--health-retries 10
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -43,6 +58,8 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
env:
|
||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable
|
||||
|
||||
frontend:
|
||||
name: Dashboard checks
|
||||
@@ -72,3 +89,6 @@ jobs:
|
||||
|
||||
- name: Check dashboard
|
||||
run: npm run check
|
||||
|
||||
- name: Unit tests
|
||||
run: npm test
|
||||
Reference in new issue
Block a user