Krzysztof Czerwinski
08612cc3bf
refactor(agent, forge): Move tests from autogpt to forge ( #7247 )
...
- Move `autogpt/tests/vcr_cassettes` submodule to `forge/tests/vcr_cassettes`
- Remove not needed markers from `pyproject.toml`: `"requires_openai_api_key", "requires_huggingface_api_key"`
- Update relevant GitHub workflows
Moved relevant tests from `autogpt/tests` to appropiate directories:
- Component tests to their respective component dirs
- `autogpt/tests/unit/test_web_search.py` → `forge/components/web/test_search.py`
- `autogpt/tests/unit/test_git_commands.py` → `forge/components/git_operations/test_git_operations.py`
- `autogpt/tests/unit/test_file_operations.py` → `forge/components/file_manager/test_file_manager.py`
- `autogpt/tests/integration/test_image_gen.py` → `forge/components/image_gen/test_image_gen.py`
- `autogpt/tests/integration/test_web_selenium.py` → `forge/components/web/test_selenium.py`
- `autogpt/tests/integration/test_execute_code.py` → `forge/components/code_executor/test_code_executor.py`
- `autogpt/tests/unit/test_s3_file_storage.py` → `forge/file_storage/test_s3_file_storage.py`
- `autogpt/tests/unit/test_gcs_file_storage.py` → `forge/file_storage/test_gcs_file_storage.py`
- `autogpt/tests/unit/test_local_file_storage.py` → `forge/file_storage/test_local_file_storage.py`
- `autogpt/tests/unit/test_json.py` → `forge/json/test_parsing.py`
- `autogpt/tests/unit/test_logs.py` → `forge/logging/test_utils.py`
- `autogpt/tests/unit/test_url_validation.py` → `forge/utils/test_url_validator.py`
- `autogpt/tests/unit/test_text_file_parsers.py` → `forge/utils/test_file_operations.py`
- (Re)moved dependencies from `autogpt/pyproject.toml` that were only used in these test files.
Also:
- Added `load_env_vars` fixture to `forge/conftest.py`
- Fixed a type error in `forge/components/web/test_search.py`
- Merged `autogpt/.gitattributes` into root `.gitattributes`
---------
Co-authored-by: Reinier van der Leer <pwuts@agpt.co >
2024-07-04 02:09:01 +02:00
Krzysztof Czerwinski
4c325724ec
refactor(autogpt, forge): Remove autogpts directory ( #7163 )
...
- Moved `autogpt` and `forge` to project root
- Removed `autogpts` directory
- Moved and renamed submodule `autogpts/autogpt/tests/vcr_cassettes` to `autogpt/tests/vcr_cassettes`
- When using CLI agents will be created in `agents` directory (instead of `autogpts`)
- Renamed relevant docs, code and config references from `autogpts/[forge|autogpt]` to `[forge|autogpt]` and from `*../../*` to `*../*`
- Updated `CODEOWNERS`, GitHub Actions and Docker `*.yml` configs
- Updated symbolic links in `docs`
2024-05-22 13:08:54 +01:00
Reinier van der Leer
90f3c5e2d9
fix(ci): Disable annoying "PR too big" auto-message
2024-04-10 17:49:31 +02:00
Reinier van der Leer
29d390d54d
ci: Disable annoying auto-message discouraging big PRs
2024-03-01 12:28:00 +01:00
Reinier van der Leer
695049bfa3
ci: Auto-label PRs based on the scope of their diff
2024-02-29 19:38:04 +01:00
Reinier van der Leer
16e266c65f
Set up CI for development branch; deprecate stable branch
2023-10-21 15:46:53 -07:00
Reinier van der Leer
ae9fc68b37
Remove references to legacy challenges
2023-10-17 17:31:23 -07:00
Reinier van der Leer
94bdcbabfc
Fix Auto-GPT CI cassette submodule
2023-09-08 23:07:17 +02:00
Reinier van der Leer
4c302e8f0b
Fix CI trigger path selectors
2023-09-08 15:25:47 +02:00
Merwane Hamadi
b512808653
Name agents like their github repos
...
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
2023-09-07 17:25:50 -07:00
Reinier van der Leer
650072eb99
Fix CI/CD for Auto-GPT + docs site deployment
2023-09-06 17:33:08 +02:00
Merwane Hamadi
8489052358
Move Auto-GPT to autogpts/autogpt
2023-09-05 09:40:24 -07:00
Reinier van der Leer
bbaa5b89c2
Add CI trigger for release-* branches
2023-06-15 13:16:25 +02:00
Reinier van der Leer
20a4922b40
Increase thresholds for PR autolabeler ( #4602 )
2023-06-06 16:37:43 -07:00
Reinier van der Leer
dafbd11686
Rearrange tests & fix CI ( #4596 )
...
* Rearrange tests into unit/integration/challenge categories
* Fix linting + `tests.challenges` imports
* Fix obscured duplicate test in test_url_validation.py
* Move VCR conftest to tests.vcr
* Specify tests to run & their order (unit -> integration -> challenges) in CI
* Fail Docker CI when tests fail
* Fix import & linting errors in tests
* Fix `get_text_summary`
* Fix linting errors
* Clean up pytest args in CI
* Remove bogus tests from GoCodeo
2023-06-06 10:48:49 -07:00
merwanehamadi
9e9b128b72
ignore cassettes and current score for all push events in github action ( #4485 )
2023-05-30 19:16:49 -05:00
Nicholas Tindle
8670b3039e
Fix PR size autolabeler message ( #3194 )
2023-04-26 00:25:38 +02:00
Reinier van der Leer
ffdc652605
Clean up GitHub Workflows ( #3059 )
...
* initial cleanup of github workflows
* only run pr-label workflow on push to master
* move docker ci/release summaries to scripts
* add XS label for PR's under 2 lines
* draft test job for Docker CI
* fix & activate Docker CI test job
* add debug step to docker CI
* fix Docker CI test container env
* Docker CI build matrix
* fixup build summaries
* fix pipes in summary
* optimize Dockerfile for layer caching
* more markdown escaping
* add gha cache scopes
* add Docker CI cache clean workflow
2023-04-24 18:03:21 +01:00
Reinier van der Leer
376db5a123
fix shirt-sizing workflow permissions
2023-04-20 03:20:28 +02:00
Nicholas Tindle
a82d49247a
Shirt size labeling for PRs ( #2467 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-20 02:07:41 +02:00
Reinier van der Leer
3b37c89d88
fix(pr-label): concurrency group cannot be empty
2023-04-17 19:15:20 +02:00
Reinier van der Leer
ef7b417105
fix(pr-label): mitigate excessive concurrent runs
2023-04-17 18:16:37 +02:00
Reinier van der Leer
e7c3ff9b9e
fix(pr-label): set job permissions explicitly
2023-04-17 17:47:58 +02:00
Reinier van der Leer
35106ef662
feat(pr-labels): auto-label conflicting PRs
2023-04-17 17:33:50 +02:00