Compare commits
6 Commits
9c9bbf1760
...
2026.01.16
| Author | SHA1 | Date | |
|---|---|---|---|
| bcca7090d3 | |||
| 8aeb381a91 | |||
| 9cf5886902 | |||
| d60b281d6a | |||
| 6eae7c7b98 | |||
| 638434af76 |
@@ -10,30 +10,72 @@ jobs:
|
|||||||
uses: ./.gitea/workflows/prepare.yaml
|
uses: ./.gitea/workflows/prepare.yaml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
api:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, application, auth, core, dependency ]
|
||||||
|
with:
|
||||||
|
working_directory: src/api
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
application:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core, dependency ]
|
||||||
|
with:
|
||||||
|
working_directory: src/application
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
auth:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core, dependency, database ]
|
||||||
|
with:
|
||||||
|
working_directory: src/auth
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
cli:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core ]
|
||||||
|
with:
|
||||||
|
working_directory: src/cli
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
core:
|
core:
|
||||||
uses: ./.gitea/workflows/package.yaml
|
uses: ./.gitea/workflows/package.yaml
|
||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
with:
|
with:
|
||||||
working_directory: src/cpl-core
|
working_directory: src/core
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
database:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core, dependency ]
|
||||||
|
with:
|
||||||
|
working_directory: src/database
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
dependency:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core ]
|
||||||
|
with:
|
||||||
|
working_directory: src/dependency
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
mail:
|
||||||
|
uses: ./.gitea/workflows/package.yaml
|
||||||
|
needs: [ prepare, core, dependency ]
|
||||||
|
with:
|
||||||
|
working_directory: src/mail
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
query:
|
query:
|
||||||
uses: ./.gitea/workflows/package.yaml
|
uses: ./.gitea/workflows/package.yaml
|
||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
with:
|
with:
|
||||||
working_directory: src/cpl-query
|
working_directory: src/query
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
translation:
|
translation:
|
||||||
uses: ./.gitea/workflows/package.yaml
|
uses: ./.gitea/workflows/package.yaml
|
||||||
needs: [ prepare, core ]
|
needs: [ prepare, core, dependency ]
|
||||||
with:
|
with:
|
||||||
working_directory: src/cpl-translation
|
working_directory: src/translation
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
mail:
|
|
||||||
uses: ./.gitea/workflows/package.yaml
|
|
||||||
needs: [ prepare, core ]
|
|
||||||
with:
|
|
||||||
working_directory: src/cpl-mail
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
@@ -35,11 +35,16 @@ jobs:
|
|||||||
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Setting up Python 3.12
|
- name: Setting up Python 3.12
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
apt install -y python3.12-dev
|
python3.12 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
bash ./install.sh
|
bash ./install.sh
|
||||||
bash ./install.sh -dev
|
bash ./install.sh -dev
|
||||||
|
python3.12 -m pip install pytest
|
||||||
|
|
||||||
- name: Testing with pytest
|
- name: Testing with pytest
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
python3.12 -m pytest
|
python3.12 -m pytest
|
||||||
@@ -26,6 +26,9 @@ Homepage = "https://www.sh-edraft.de"
|
|||||||
where = ["."]
|
where = ["."]
|
||||||
include = ["cpl*"]
|
include = ["cpl*"]
|
||||||
|
|
||||||
|
[tool.setuptools.package-data]
|
||||||
|
"cpl.cli" = [".cpl/**/*"]
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
dependencies = { file = ["requirements.txt"] }
|
dependencies = { file = ["requirements.txt"] }
|
||||||
optional-dependencies.dev = { file = ["requirements.dev.txt"] }
|
optional-dependencies.dev = { file = ["requirements.dev.txt"] }
|
||||||
|
|||||||
@@ -4,3 +4,4 @@ tabulate==0.9.0
|
|||||||
termcolor==3.1.0
|
termcolor==3.1.0
|
||||||
pynput==1.8.1
|
pynput==1.8.1
|
||||||
croniter==6.0.0
|
croniter==6.0.0
|
||||||
|
cryptography==46.0.2
|
||||||
Reference in New Issue
Block a user