File tree 1 file changed +25
-0
lines changed
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Integration tests
2
+
3
+ This directory contains smoke and integration tests for Eliza project.
4
+
5
+ ## Smoke tests
6
+ - Should always be run on a freshly cloned project (i.e. no local changes)
7
+ - Building and installing is part of the test
8
+ - No configuration required
9
+ - To run: ` pnpm run smokeTests `
10
+
11
+ ## Integration tests
12
+ - You need to configure your .env file before running (currently at least ` OPENAI_API_KEY ` is required)
13
+ - How to use:
14
+ 1 . Install project dependencies and build the project as described in top-level ` README `
15
+ 2 . To run all the tests: ` pnpm run integrationTests `
16
+
17
+ ## Integration test library
18
+ - For simplicity, integration tests are written in plain JavaScript (ESM)
19
+ - Currently this is just a "proof of concept" (single test), please reach out if you would like to contribute.
20
+
21
+ ## Using in GitHub CI/CD
22
+ - Settings -> Secrets and variables -> Actions:
23
+ - Create an enviroment
24
+ - Add repository secret ` OPENAI_API_KEY `
25
+ - Refer to https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions for more information
You can’t perform that action at this time.
0 commit comments