casdoor / casdoor-python-sdk

Python client SDK for Casdoor
https://pypi.org/project/casdoor
Apache License 2.0
34 stars 36 forks source link

Set up the GitHub Actions CI service #9

Closed ffyuanda closed 2 years ago

ffyuanda commented 2 years ago

For now, the tests are hard-coded and no longer valid. If we set up a Casdoor instance in CI service, then we can run the tests in the environment against that instance.

casbin-bot commented 2 years ago

@Steve0x2a @seriouszyx @Abingcbc @ComradeProgrammer

hsluoyz commented 2 years ago

@ffyuanda you can use the demo site: https://door.casdoor.com/ even in CI. It will be always up.

Steve0x2a commented 2 years ago

@ffyuanda you can use the demo site: https://door.casdoor.com/ even in CI. It will be always up.

Casdoor code can only be used once now, so it is possible that the existing test will need to be modified.

hsluoyz commented 2 years ago

@Steve0x2a I think the current problem is that the Actions CI doesn't run at all, not the run causes failure. We need to figure out how to make it run first.

hsluoyz commented 2 years ago

See the CI icon: https://github.com/casbin/pycasbin/commits/master

image

But we this repo doesn't have it: https://github.com/casdoor/casdoor-python-sdk/commits/master

image