Commit Graph

51 Commits

Author SHA1 Message Date
merwanehamadi
d34b8a2b61 Replace 'prompt change' with 'behavior change' (#4473)
* Replace 'prompt change' with 'behavior change'

* replaced behavior by behaviour

* fixed typo on behaviour
2023-05-30 03:01:46 +01:00
merwanehamadi
ee9f10a8d8 remove unused imports automatically (#4449)
* remove unused imports automatically

* add linters to pr template

* remove useless try statement
2023-05-28 05:50:50 -07:00
merwanehamadi
e7c0d3330c Create cassette submodule (#4420)
* gfeat: specify directory of cassettes and automatically load them depending on module

fix: formatting for linter

test: commit newly generated cassettes to their respective folder

tests: update latest fixtures with master

fix: update .gitattributes with updated path to cassettes

fix: use cassettes from master instead of generating them myself

fix: update path in .gitattributes

fix: make sure to match default functionality by using test name for cassette directory

fix: actually add git submodule

ci: checkout git submodules in CI

ci: update git submodules separately to ensure it gets called

feat: add a hooks directory so we can update git submodules on post-checkout

feat: make sure we push the tests/cassettes submodule on merge into master

ci: remove unused code now that we are using git submodules to keep cassettes in sync

fix: simplify how we load the submodule and fix updating cassettes on merge to master

chore: remove echo of checkout hook, it's unneeded

ci: remove unneccesary step

* cassettes submodule

* cassettes submodule

* cassettes submodule

* cassettes submodule

* cassettes submodule

---------

Co-authored-by: Stefan Ayala <stefanayala3266@gmail.com>
2023-05-26 12:33:49 -07:00
merwanehamadi
6c45fcd067 remove cassettes auto commit (#4432) 2023-05-26 11:02:40 -07:00
k-boikov
d3fc8c4286 add 30 min timeout for tests (#4416) 2023-05-25 16:15:27 -07:00
merwanehamadi
9c7f5671e6 CI: set base repo before gh pr checkout (#4363) 2023-05-23 14:23:03 +02:00
merwanehamadi
3a2800bcdd Cassettes should be added in the same pull request, without extra pull request (#4355)
* fix ci

* fix ci

* add only what we need

* Updated ci.yml to inform about challenge score

* Updated ci.yml to inform about challenge score

---------

Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com>
2023-05-22 20:03:23 -07:00
merwanehamadi
1c399e67f4 Add $ to timestamp in ci.yml and improve diff (#4266) 2023-05-17 17:52:52 +01:00
merwanehamadi
55af3e19b4 CI Pipeline: create cassettes in fork (#4257)
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-05-16 21:49:12 -05:00
merwanehamadi
517c080544 fix ci cassettes (#4234)
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-05-15 22:43:21 -05:00
merwanehamadi
6c4426d8e6 Refactor challenges to use cycle count instead of time (#4222)
Co-authored-by: Richard Beales <rich@richbeales.net>
2023-05-15 21:44:36 -05:00
Reinier van der Leer
1a2f7684bc Patch CI proxy 2023-05-15 14:35:35 +02:00
k-boikov
f778483ac3 Revert "Put back 3.11 until it's removed as a requirement" (#4191) 2023-05-14 16:30:10 +03:00
merwanehamadi
15ebe23bc2 add back 3.11 (#4185) 2023-05-14 14:20:14 +01:00
merwanehamadi
bc6f8a27ff Feature/fix rate limiting issue Step 1 (#4173)
* temporarilly remove 3.11
2023-05-13 22:31:24 -04:00
merwanehamadi
2d9b9294d0 Test New CI Pipeline (#4170)
* introduce dummy prompt change

* introduce dummy prompt change

* empty commit

* empty commit

* empty commit

* push to origin repo

* add s to quote
2023-05-14 13:18:31 +12:00
merwanehamadi
de6b8ee9f2 Feature/test new ci pipeline 2 (#4169)
* test new CI

* remove double quotes

* make it a variable

* make it a variable
2023-05-14 11:40:31 +12:00
merwanehamadi
a110ff94a5 test new CI (#4168)
* test new CI

* test new CI

* remove double quotes
2023-05-14 11:25:56 +12:00
merwanehamadi
4143d212a5 Feature/basic proxy (#4164)
* basic proxy (#54)

* basic proxy (#55)

* basic proxy

* basic proxy

* basic proxy

* basic proxy

* add back double quotes

* add more specific files

* write file

* basic proxy

* Put back double quotes
2023-05-14 11:07:37 +12:00
Andres Caicedo
2513178980 Integrate pytest-xdist Plugin for Parallel and Concurrent Testing (#3870)
* Adds pytest-parallel dependencies

* Implement pytest-parallel for faster tests

* Uses pytest-xdist

* Auto number of workers processes

* Update ci.yml

---------

Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-05-11 17:19:52 -07:00
merwanehamadi
b0c6ed999c Feature/tighten up ci pipeline (#3700) 2023-05-02 19:07:50 +01:00
Reinier van der Leer
e4129e1a3a Fix CI for stable 2023-05-02 13:35:23 +02:00
merwanehamadi
02f546d2bc Run the integration tests in the CI pipeline BUT without API keys (#3359)
* integration tests in ci pipeline

* Update CONTRIBUTING.md

Co-authored-by: Reinier van der Leer <github@pwuts.nl>

---------

Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-26 20:45:03 -05:00
Nicholas Tindle
c7f4734826 Update ci.yml (#3179) 2023-04-25 03:53:06 +01: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
Merwane Hamadi
b7cd56f72b move decorator higher up
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-04-23 00:45:54 +02:00
Merwane Hamadi
eb5a8a87d8 add decorator to tests
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>
2023-04-23 00:45:53 +02:00
Nicholas Tindle
6e5df9e9e7 feat: add code cov 2023-04-22 00:45:29 -05:00
Nicholas Tindle
7a9c6a52fa Update ci.yml 2023-04-21 00:49:07 -05:00
Nicholas Tindle
81de438569 try something new 2023-04-21 00:41:44 -05:00
Nicholas Tindle
185429287e Update ci.yml 2023-04-21 00:35:46 -05:00
Nicholas Tindle
c2f86f6934 Update ci.yml 2023-04-21 00:34:11 -05:00
Nicholas Tindle
7f99fa3da8 Update ci.yml 2023-04-21 00:30:39 -05:00
Nicholas Tindle
c58cf15565 hotfix: don't upload results on push 2023-04-21 00:27:19 -05:00
Nicholas Tindle
5155056198 feat: permissions 2023-04-20 00:25:48 -05:00
Nicholas Tindle
9cb4739e4a fix: syntax 2023-04-20 00:22:10 -05:00
Nicholas Tindle
b9623ed424 fix: add new line back 2023-04-20 00:21:20 -05:00
Nicholas Tindle
7c45b21aa7 Update ci.yml 2023-04-20 00:11:43 -05:00
Drikus Roor
24d5e1fc8a Ensure Python 3.10 & 3.11 compatability (#1815)
CI: Ensure compatability with Python 3.10 & 3.11

---------

Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-19 01:38:42 +02:00
Reinier van der Leer
e2accab87e Move to Python 3.10 & improve CI workflow (#2369)
* Use Python 3.10 in CI, benchmark, devcontainer, docker config, .sourcery.yaml
* Improve Python CI workflow
2023-04-19 01:27:29 +02:00
Toran Bruce Richards
7ac296081c Add pull_request_target to CI trigger 2023-04-18 19:11:09 +12:00
Toran Bruce Richards
525073bb94 Change on PR to all branches 2023-04-18 18:46:50 +12:00
Merwane Hamadi
254cd69748 Update CI workflow to use flake8, black, and isort formatting checks 2023-04-17 12:50:21 -07:00
0xArty
147d3733bf Change ci to pytest 2023-04-16 22:17:03 +01:00
Dino Hensen
d64f866bfa Convert to python module named autogpt.
Also fixed the Dockerfile.
Converting to module makes development easier.
Fixes coverage script in CI and test imports.
2023-04-14 10:27:41 -07:00
Drikus Roor
04dc0f7149 lint: Add flake8 rule E302 to the flake8 workflow job 2023-04-13 10:50:27 +02:00
Drikus Roor
8ff36bb8ba lint: Add rule E231 to the flake8 linting job 2023-04-13 10:50:26 +02:00
Drikus Roor
f4a481513d ci: Set continue-on-error to false for flake8 lint job 2023-04-12 22:13:02 +02:00
Drikus Roor
8d0d4135ea ci: Update flake8 command to ignore some issues.
We can later gradually make it stricter until we have no errors anymore.
2023-04-12 22:07:04 +02:00
Drikus Roor
29d6ecd4d3 ci: Allow flake8 failure since there are a lot of issues 2023-04-12 20:21:42 +02:00