🧪 ci: Add .env.test for backend-review.yml (#2501)

* 🧪 ci: Add `.env.test` for `backend-review.yml`

* chore: touch example file
This commit is contained in:
Danny Avila 2024-04-23 08:21:12 -04:00 committed by GitHub
parent 4d05e5b79a
commit 0ae98ff011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -51,6 +51,9 @@ jobs:
exit 1
fi
- name: Prepare .env.test file
run: cp api/test/.env.test.example api/test/.env.test
- name: Run unit tests
run: cd api && npm run test:ci

View file

@ -1,4 +1,4 @@
# Test database. You can use your actual MONGO_URI if you don't mind it potentially including test data.
# Test DB URI. You can use your actual MONGO_URI if you don't mind it potentially including test data.
MONGO_URI=mongodb://127.0.0.1:27017/chatgpt-jest
# Credential encryption/decryption for testing