feat: Initial version of CleverSwarm Python SDK
/ test (push) Successful in 9m10s

Extend CleverSwarm codebase with PDF and Machine and Worker IDs

ISSUES CLOSED: #1
This commit was merged in pull request #2.
This commit is contained in:
CoreRasurae
2025-09-28 22:21:10 +01:00
committed by Luis Mendes
parent 1aebcfda0f
commit cd808dc3dd
17 changed files with 219 additions and 66 deletions
+68
View File
@@ -0,0 +1,68 @@
on: [push]
env:
BUILD_DIR: "."
jobs:
test:
runs-on: docker
container:
image: modjular/modjular-python-testing:3.13
steps:
- name: Test Echo
run: echo 'Starting up the tests...'
- name: Check version and distribution
run: |
uname -srm
cat /etc/os-release
- name: Install pyenv and nodejs
run: |
sudo apt-get update
sudo apt-get install build-essential git nodejs npm -y
pyenv install 3.10.18 && pyenv local 3.10.18
pyenv install 3.11.13 && pyenv local 3.11.13
pyenv install 3.12.10 && pyenv local 3.12.10
pyenv install 3.13.5 && pyenv local 3.13.5
- name: Clone Repository
id: clone
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-known-hosts: ${{ vars.SSH_KNOWN_HOSTS }}
- name: Install requirements
id: install
run: |
pyenv local 3.10.18
pip install -r requirements-dev.txt
pip install tox
pyenv local 3.11.13
pip install -r requirements-dev.txt
pip install tox
pyenv local 3.12.10
pip install -r requirements-dev.txt
pip install tox
pyenv local 3.13.5
pip install -r requirements-dev.txt
pip install tox
- name: Run the tests
run: |
pyenv local 3.10.18 3.11.13 3.12.10 3.13.5
tox -e lint,py310,py311,py312,py313,coverage -p all
- name: Upload coverage artifacts
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: coverage-reports
path: |
unit_tests_report.xml
unit_tests_report.html
coverage_report.xml
htmlcov