dev into master #184
@@ -23,4 +23,21 @@ jobs:
|
|||||||
run: python3.12 -m pip install black
|
run: python3.12 -m pip install black
|
||||||
|
|
||||||
- name: Checking black
|
- name: Checking black
|
||||||
run: python3.12 -m black src --check
|
run: python3.12 -m black src --check
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: [ runner ]
|
||||||
|
container: git.sh-edraft.de/sh-edraft.de/act-runner:latest
|
||||||
|
steps:
|
||||||
|
- name: Clone Repository
|
||||||
|
uses: https://github.com/actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CI_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Setting up Python 3.12
|
||||||
|
run: |
|
||||||
|
python3.12 -m pip install -r src/requirements-dev.txt
|
||||||
|
|
||||||
|
- name: Testing with pytest
|
||||||
|
run: |
|
||||||
|
python3.12 -m pytest
|
||||||
@@ -1,2 +1,18 @@
|
|||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
pythonpath = [
|
||||||
|
"src/api",
|
||||||
|
"src/application",
|
||||||
|
"src/auth",
|
||||||
|
"src/cli",
|
||||||
|
"src/core",
|
||||||
|
"src/database",
|
||||||
|
"src/dependency",
|
||||||
|
"src/graphql",
|
||||||
|
"src/mail",
|
||||||
|
"src/query",
|
||||||
|
"src/translation"
|
||||||
|
]
|
||||||
|
testpaths = ["test"]
|
||||||
Reference in New Issue
Block a user