Skip to content

Commit 6eaa8ca

Browse files
committed
modify tests
1 parent 3e796e5 commit 6eaa8ca

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
name: Run Tests
22

3-
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
branches:
9-
- main
3+
on: [push, pull_request]
104

115
jobs:
126
test:
137
runs-on: ubuntu-latest
8+
env:
9+
MONGODB_URI: ${{ secrets.MONGODB_URI }}
10+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
1411
steps:
15-
- name: Checkout repository
12+
- name: Checkout code
1613
uses: actions/checkout@v3
1714

1815
- name: Setup Node.js

0 commit comments

Comments
 (0)