transformers/.github/workflows
Arthur 627f44799a
[Doctests] Refactor doctests + add CI (#22987)
* intiial commit

* new styling

* update

* just run doctest in CI

* remove more test for fast dev

* update

* update refs

* update path and fetch upstream

* update documentatyion trests

* typo

* parse pwd

* don't check for files that are in hidden folders

* just give paths relative to transformers

* update

* update

* update

* major refactoring

* make sure options is ok

* lest test that mdx is tested

* doctest glob

* nits

* update doctest nightly

* some cleaning

* run correct test on diff

* debug

* run on a single worker

* skip_cuda_test tampkate

* updates

* add rA and continue on failure

* test options

* parse `py` codeblock?

* we don't need to replace ignore results, don't remember whyu I put it

* cleanup

* more cleaning

* fix arg

* more cleaning

* clean an todo

* more pre-processing

* doctest-module has none so extra `- ` is needed

* remove logs

* nits

* doctest-modules ....

* oups

* let's use sugar

* make dataset go quiet

* add proper timeout

* nites

* spleling timeout

* update

* properly skip tests that have CUDSA

* proper skipping

* cleaning main and get tests to run

* remove make report?

* remove tee

* some updates

* tee was removed but is the full output still available?

* [all-test]

* only our tests

* don't  touch tee in this PR

* no atee-sys

* proper sub

* monkey

* only replace call

* fix sub

* nits

* nits

* fix invalid syntax

* add skip cuda doctest env variable

* make sure all packages are installed

* move file

* update check repo

* revert changes

* nit

* finish cleanup

* fix re

* findall

* update don't test init files

* ignore pycache

* `-ignore-pycache` when running pytests

* try to fix the import missmatch error

* install dec

* pytest is required as doctest_utils imports things from it

* the only log issues were dataset, ignore results should work

* more cleaning

* Update .circleci/create_circleci_config.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* [ydshieh] empty string if cuda is found

* [ydshieh] fix condition

* style

* [ydshieh] fix

* Add comment

* style

* style

* show failure

* trigger CI

---------

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2023-05-09 20:34:48 +02:00
..
add-model-like.yml Update some GH action versions (#20537) 2022-12-06 16:54:40 +01:00
build_documentation.yml [i18n-fr] Translate index page to French (#21458) 2023-02-06 12:25:49 -05:00
build_pr_documentation.yml [i18n-fr] Translate index page to French (#21458) 2023-02-06 12:25:49 -05:00
build-docker-images.yml Change schedule CI time (#22884) 2023-04-20 14:01:08 +02:00
build-nightly-ci-docker-images.yml (Re-)Enable Nightly + Past CI (#22393) 2023-03-30 21:06:35 +02:00
build-past-ci-docker-images.yml (Re-)Enable Nightly + Past CI (#22393) 2023-03-30 21:06:35 +02:00
check_runner_status.yml Make Slack CI reporting stronger (#21823) 2023-02-28 17:12:44 +01:00
check_tiny_models.yml Make tiny model creation + pipeline testing more robust (#22500) 2023-04-06 17:45:55 +02:00
delete_doc_comment.yml Complete doc migration (#20267) 2022-11-16 08:43:37 -05:00
doctests.yml [Doctests] Refactor doctests + add CI (#22987) 2023-05-09 20:34:48 +02:00
model-templates.yml Update some GH action versions (#20537) 2022-12-06 16:54:40 +01:00
release-conda.yml Conda build (#12323) 2021-06-23 11:07:07 -04:00
self-nightly-past-ci-caller.yml Change schedule CI time (#22884) 2023-04-20 14:01:08 +02:00
self-nightly-scheduled.yml Remove DS_BUILD_AIO=1 (#22741) 2023-04-13 18:08:22 +02:00
self-past.yml Install accelerete@main in PyTorch Past CI jobs (#22963) 2023-04-24 21:19:06 +02:00
self-push-caller.yml Replace set-output by $GITHUB_OUTPUT (#20547) 2022-12-05 18:25:13 +01:00
self-push.yml Remove DS_BUILD_AIO=1 (#22741) 2023-04-13 18:08:22 +02:00
self-scheduled.yml Change schedule CI time (#22884) 2023-04-20 14:01:08 +02:00
stale.yml ci(workflows): update actions/checkout to v3 (#19280) 2022-10-04 16:07:53 +02:00
TROUBLESHOOT.md add troubleshooting docs (#12791) 2021-07-20 03:32:02 -04:00
update_metdata.yml Simplify update metadata job (#22811) 2023-04-17 13:54:20 -04:00