ci: Provide initial Forgejo CI script #3

Merged
CoreRasurae merged 9 commits from task/enable_ci-#1 into master 2025-09-23 09:12:41 +00:00
Member

Enable the unit tests

ISSUES CLOSED: #1

Enable the unit tests ISSUES CLOSED: #1
khird approved these changes 2025-09-22 14:30:59 +00:00
Dismissed
@ -0,0 +55,4 @@
- name: Run the tests
run: |
pyenv local 3.11.13 3.12.10 3.13.5
tox -e lint,py311,py312,py313,coverage -p all
Member

Your versions installed above run 3.10-3.13, but your command here only runs 3.11-3.13. Should it include 3.10 as well?

Your versions installed above run 3.10-3.13, but your command here only runs 3.11-3.13. Should it include 3.10 as well?
Author
Member

Well i do not have a clear specification on what python versions to support. I was trying to reach a wider version range, but i think 3.11-3.13 may be good enough for now.

Well i do not have a clear specification on what python versions to support. I was trying to reach a wider version range, but i think 3.11-3.13 may be good enough for now.
CoreRasurae marked this conversation as resolved
@ -21,2 +22,2 @@
black --check clevercloud_storage_framework tests
isort --check-only --profile black clevercloud_storage_framework tests
flake8 --append-config=tox.ini src/clevercloud_storage_framework
black -t py311 -t py312 -t py313 --check src/clevercloud_storage_framework
Member

ditto above

ditto above
Author
Member

Thanks for reporting this. I am happy with 3.11-3.13 for now.

Thanks for reporting this. I am happy with 3.11-3.13 for now.
CoreRasurae marked this conversation as resolved
@ -44,3 +47,2 @@
commands =
black clevercloud_storage_framework tests
isort --profile black clevercloud_storage_framework tests
black -t py311 -t py312 -t py313 src/clevercloud_storage_framework tests
Member

ditto above

ditto above
Author
Member

Thanks again. Same reason as above.

Thanks again. Same reason as above.
CoreRasurae marked this conversation as resolved
requested reviews from khird, aditya 2025-09-22 16:13:53 +00:00
khird approved these changes 2025-09-22 16:23:02 +00:00
aditya approved these changes 2025-09-22 18:19:33 +00:00
CoreRasurae deleted branch task/enable_ci-#1 2025-09-23 09:12:41 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cleverlibre/clevercloud-storage#3
No description provided.