You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Justin-Xiang (via GitHub)" <gi...@apache.org> on 2023/11/08 13:59:49 UTC

[I] bindings: python tests skipping [incubator-opendal]

Justin-Xiang opened a new issue, #3536:
URL: https://github.com/apache/incubator-opendal/issues/3536

   I found the test instructions in [Python](https://github.com/apache/incubator-opendal/blob/9b423aef2d48afb17a48a464fe6e7e83f0a1ae35/bindings/python/README.md?plain=1#L73) and [CONTRIBUTING](https://github.com/apache/incubator-opendal/blob/9b423aef2d48afb17a48a464fe6e7e83f0a1ae35/bindings/python/CONTRIBUTING.md?plain=1#L74) not working. 
   
   when running `OPENDAL_MEMORY_TEST=on pytest` on my machine, all tests will skip due to [this](https://github.com/apache/incubator-opendal/blob/9b423aef2d48afb17a48a464fe6e7e83f0a1ae35/bindings/python/tests/conftest.py#L39):
   ```python
   @pytest.fixture()
   def service_name():
       service_name = os.environ.get("OPENDAL_TEST")
       if service_name is None:
           pytest.skip("OPENDAL_TEST not set")
       return service_name
   ```
   Instead, one way to run all tests is:
   `OPENDAL_TEST=fs opendal_fs_root=/tmp pytest -vk test`
   `fs` can change to `memory` or others


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bindings: python tests skipping [incubator-opendal]

Posted by "suyanhanx (via GitHub)" <gi...@apache.org>.
suyanhanx commented on issue #3536:
URL: https://github.com/apache/incubator-opendal/issues/3536#issuecomment-1801980671

   You are right.  We recently updated our testing framework and have not updated the documentation.  Would you like to submit a PR to update it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bindings: python tests skipping [incubator-opendal]

Posted by "Justin-Xiang (via GitHub)" <gi...@apache.org>.
Justin-Xiang commented on issue #3536:
URL: https://github.com/apache/incubator-opendal/issues/3536#issuecomment-1802053850

   Sure, I'd like to make a PR for that, also, I found a lot of Bindings Python CI [here](https://github.com/apache/incubator-opendal/actions/workflows/bindings_python.yml) skipped, is it expected or due to the issue above?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bindings: python tests skipping [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #3536:
URL: https://github.com/apache/incubator-opendal/issues/3536#issuecomment-1802057988

   > Bindings Python CI [here](https://github.com/apache/incubator-opendal/actions/workflows/bindings_python.yml) skipped
   
   Those CI are only triggered while tagged.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bindings: python tests skipping [incubator-opendal]

Posted by "messense (via GitHub)" <gi...@apache.org>.
messense closed issue #3536: bindings: python tests skipping
URL: https://github.com/apache/incubator-opendal/issues/3536


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org