dev into master #184
@@ -24,3 +24,20 @@ jobs:
|
||||
|
||||
- name: Checking black
|
||||
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]
|
||||
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