Skip to content

Commit 44d126f

Browse files
committed
Setting up test scripts in CI/CD
1 parent 41d8620 commit 44d126f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8+
89
jobs:
910
lint-secrets-tests:
1011
runs-on: ubuntu-latest
12+
1113
services:
1214
mongo:
1315
image: mongo:6
@@ -41,7 +43,7 @@ jobs:
4143
curl -sL https://github.com/zricethezav/gitleaks/releases/download/v8.16.1/gitleaks_8.16.1_linux_x64.tar.gz | tar xz
4244
./gitleaks detect --redact --exit-code=1
4345
44-
- name: Run Tests (Local Mongo)
46+
- name: Run Tests
4547
env:
4648
MONGO_URI: mongodb://localhost:27017/ci_testdb
4749
JWT_SECRET: ${{ secrets.JWT_SECRET }}

0 commit comments

Comments
 (0)