Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tests to run on GitHub Actions #67

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

yuenherny
Copy link

Created .github/workflows/unit_tests.yml to run tests on GitHub Actions as mentioned in Issue #16 .

Unfortunately the workflow did not complete as there are tests that failed. See below:

Run pytest tests
============================= test session starts ==============================
platform linux -- Python 3.10.10, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/runner/work/sgnlp/sgnlp, configfile: pytest.ini
collected 136 items

tests/emotion_entailment/test_emotion_entailment.py ..F....              [  5%]
tests/emotion_entailment/test_emotion_entailment_postprocessor.py F      [  5%]
tests/emotion_entailment/test_emotion_entailment_preprocessor.py .       [  6%]
tests/emotion_entailment/test_emotion_entailment_train_eval.py ..        [  8%]
tests/emotion_entailment/test_emotion_entailment_utils.py ........       [ 13%]
tests/lsr/test_lsr.py F...                                               [16%]
tests/lsr/test_lsr_postprocessor.py F                                    [ 17%]
tests/lsr/test_lsr_preprocessor.py F                                     [ 18%]
tests/rst_pointer/test_rst_pointer_parser.py F..                         [ 20%]
tests/rst_pointer/test_rst_pointer_segmenter.py F..                      [ 22%]
tests/sentic_gcn/test_sentic_gcn_model.py ....................           [ 37%]
tests/sentic_gcn/test_sentic_gcn_postprocess.py ....                     [ 40%]
tests/sentic_gcn/test_sentic_gcn_preprocess.py F..F..                    [ 44%]
tests/sentic_gcn/test_sentic_gcn_tokenization.py ...                     [ 47%]
tests/sentic_gcn/test_sentic_gcn_train_eval.py F.FF                      [ 50%]
tests/sentic_gcn/test_sentic_gcn_utils.py .........                      [ 56%]
tests/span_extraction/test_span_extraction.py ..F....                    [ 61%]
tests/span_extraction/test_span_extraction_postprocessor.py F            [ 62%]
tests/span_extraction/test_span_extraction_preprocessor.py .             [ 63%]
tests/span_extraction/test_span_extraction_train_eval.py ..              [ 64%]
tests/span_extraction/test_span_extraction_utils.py ......               [ 69%]
tests/ufd/test_ufd.py ...............................                    [ 91%]
tests/ufd/test_ufd_model_builder.py F                                    [ 92%]
tests/ufd/test_ufd_preprocess.py ..                                      [ 94%]
tests/ufd/test_ufd_train_eval.py F.                                      [ 95%]
tests/ufd/test_ufd_utils.py .....F                                       [100%]

=================================== FAILURES ===================================
__________________ EmotionEntailmentTest.test_from_pretrained __________________

cls = <class 'sgnlp.models.emotion_entailment.config.RecconEmotionEntailmentConfig'>
pretrained_model_name_or_path = 'https://storage.googleapis.com/sgnlp/models/reccon_emotion_entailment/config.json'
kwargs = {}, cache_dir = None, force_download = False, resume_download = False
proxies = None, use_auth_token = None, local_files_only = False, revision = None
...

@yuenherny yuenherny changed the base branch from main to dev March 25, 2023 14:15
@yuenherny yuenherny changed the base branch from dev to main March 25, 2023 14:15
@yuenherny yuenherny changed the base branch from main to dev April 16, 2023 12:12
@yuenherny yuenherny changed the base branch from dev to main April 16, 2023 12:15
@yuenherny
Copy link
Author

Hi @atenzer , not sure if this repo is still maintained. Could you advise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant