Commit graph

868 commits

Author SHA1 Message Date
Krish Dholakia
a871d85696 Updated config.yml 2023-10-07 18:06:07 -07:00
Krrish Dholakia
3a15425288 aider: Modified CircleCI configuration to run pytest only on test_logging.py
# Aider chat conversation:

USER: what does `python -m pytest -vv --junitxml=test-results/junit.xml` do?

ASSISTANT: This command runs the pytest testing tool for Python in a specific way. Here's a breakdown of what each part does:

- `python -m pytest`: This runs pytest as a module using the Python interpreter. Pytest is a testing framework that allows you to easily create small, simple tests, as well as complex, functional testing for applications and libraries.

- `-vv`: This is an option for pytest that increases verbosity. Pytest without any `-v` is silent except for failures. One `-v` makes it print the test function names, and `-vv` also prints the individual test cases within those functions.

- `--junitxml=test-results/junit.xml`: This is an option for pytest that tells it to generate a test report in the form of an XML file in the JUnit format. This is useful for integrating the test results into tools that understand JUnit test reports, like many continuous integration servers. The `test-results/junit.xml` part specifies the location and name of the report file to generate.

So, in summary, this command runs all the pytest tests in the current directory and its subdirectories, prints detailed output about what tests are being run and their results, and generates a JUnit-format XML report of the test results.

USER: `.circleci/config.yml`

ASSISTANT: I'm sorry, but your request is not clear. Could you please provide more details about what you want to do with the `.circleci/config.yml` file? Are there any specific changes you want to make or any issues you're facing with it?

USER: how do i modify the pytest to only run test_logging.py

ASSISTANT: To modify the pytest command to only run `test_logging.py`, you need to specify the file name in the command. Here is how you can do it:

```yaml
.circleci/config.yml
<<<<<<< HEAD
      - run:
          name: Run tests
          command: |
            python -m pytest -vv --junitxml=test-results/junit.xml
          no_output_timeout: 30m
=======
      - run:
          name: Run tests
          command: |
            python -m pytest -vv test_logging.py --junitxml=test-results/junit.xml
          no_output_timeout: 30m
>>>>>>> updated
```

This change will make pytest only run the tests in the `test_logging.py` file. If `test_logging.py` is not in the root directory, you should provide the relative path to it from the root directory. For example, if it's in a `tests` directory, you would use `tests/test_logging.py`.
2023-10-07 17:58:07 -07:00
Krish Dholakia
c1284f1d20 Updated config.yml 2023-10-06 06:33:43 -07:00
Krish Dholakia
3612386603 Updated config.yml 2023-10-06 06:32:33 -07:00
Krrish Dholakia
214ab68510 update circle requirements 2023-09-30 18:24:58 -07:00
coconut49
4f67261c3c
Update boto3 dependency to version 1.28.57, refactor bedrock client initialization and remove troubleshooting guide from documentation. 2023-09-30 12:31:26 +08:00
ishaan-jaff
f52be153e0 add google gen ai to circle ci 2023-09-26 11:45:21 -07:00
Krish Dholakia
ff98af9b0c Updated config.yml 2023-09-21 14:30:20 -07:00
ishaan-jaff
6c937e15a9 bump version + fix ci/cd test 2023-09-19 13:50:10 -07:00
ishaan-jaff
04e52d2443 parallel testing 2023-09-19 11:27:38 -07:00
ishaan-jaff
451ce6eeb3 make test more verbose 2023-09-18 12:20:52 -07:00
ishaan-jaff
98333b9ab9 fix ci yml 2023-09-14 14:20:48 -07:00
ishaan-jaff
2c0694bb2f fix config.yml for bedrock 2023-09-14 14:14:31 -07:00
ishaan-jaff
7a7e39587a cache pip deps 2023-09-11 08:27:09 -07:00
ishaan-jaff
19d26b944e parallelism tests 2023-09-11 08:21:07 -07:00
Krish Dholakia
3da6e68166 Updated config.yml 2023-09-11 08:01:01 -07:00
Krish Dholakia
37f9ff1a9c Updated config.yml 2023-09-09 22:18:08 -07:00
Krish Dholakia
79a26225b9 Updated config.yml 2023-09-09 22:16:45 -07:00
ishaan-jaff
a611409e0f async streaming generator 2023-09-07 13:53:40 -07:00
Krish Dholakia
1c2989043f Updated config.yml 2023-09-05 14:55:13 -07:00
Krish Dholakia
343ff81f27 Updated config.yml 2023-09-05 14:45:56 -07:00
ishaan-jaff
53018e4b23 linting fix 2023-08-28 13:14:58 -07:00
ishaan-jaff
beaa33ba12 linting 4 2023-08-18 12:28:43 -07:00
ishaan-jaff
13cfac857e test#3 linting 2023-08-18 12:24:41 -07:00
ishaan-jaff
973a7c2676 lint test 2 2023-08-18 12:20:24 -07:00
ishaan-jaff
76979b6380 fix type checking 2023-08-18 12:17:28 -07:00
ishaan-jaff
33c25b7d7c config.yml fix 2023-08-18 12:11:49 -07:00
ishaan-jaff
1310e3b32f with failing linting 2023-08-18 12:10:54 -07:00
ishaan-jaff
a032b29ba5 fix ci/cd 2023-08-17 13:34:39 -07:00
ishaan-jaff
e5f9a2be53 fix docs + circle ci 2023-08-17 13:31:47 -07:00
ishaan-jaff
5d0f9fd749 new v litellm for render 2023-08-11 14:12:59 -07:00
ishaan-jaff
4f403d06d1 ignore changes to docs/readme/cookbook for builds 2023-08-11 13:18:54 -07:00
ishaan-jaff
8e7479a1a1 temp test chromadb 2023-08-10 15:22:38 -07:00
ishaan-jaff
e9c2f3b55d use latest python build 2023-08-10 15:09:06 -07:00
ishaan-jaff
5c92a597e5 debug cache circle ci 2023-08-10 15:03:33 -07:00
ishaan-jaff
d80f847fde add caching with chromDB - not a dependency 2023-08-10 13:21:06 -07:00
ishaan-jaff
6d57d3f1dd fix circle ci test 2023-08-08 11:32:31 -07:00
ishaan-jaff
3edcf8c7d8 remove deps datalib, pytest, tenacity, infisical 2023-08-08 10:58:43 -07:00
ishaan-jaff
580918f360 workflow block testing 2023-08-05 10:33:39 -07:00
ishaan-jaff
7bd1395e68 better pyproject.toml 2023-08-05 10:31:34 -07:00
ishaan-jaff
a36851620f good build 2023-08-05 10:30:12 -07:00
ishaan-jaff
72f2d76c73 install build 2023-08-05 09:46:08 -07:00
ishaan-jaff
5d5b33412d use build 2023-08-05 09:43:21 -07:00
ishaan-jaff
f67da1a340 v2 2023-08-05 09:31:47 -07:00
ishaan-jaff
9f43d535a3 publish 2023-08-05 09:26:15 -07:00
Ishaan Jaff
4d90f8e726
Update config.yml 2023-08-05 09:12:44 -07:00
Ishaan Jaff
0ca2694e35
Update config.yml 2023-08-01 20:12:51 -07:00
Ishaan Jaff
fec574c1fd
Update config.yml 2023-08-01 16:28:38 -07:00
Ishaan Jaff
2881b8de09
Update config.yml 2023-08-01 16:25:54 -07:00
Ishaan Jaff
67529fa1e0
Update config.yml 2023-08-01 16:22:44 -07:00