Skip to content
Snippets Groups Projects
Commit 9fc6b7f8 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

[CI] Enable CI suite

parent 4d918958
No related branches found
No related tags found
1 merge request!1Reformat and cleanup
......@@ -64,6 +64,8 @@ docs/_build/
# Generated files
aleksis/node_modules/
aleksis/static/
aleksis/whoosh_index/
poetry.lock
.coverage
.mypy_cache/
......@@ -72,3 +74,8 @@ htmlcov/
maintenance_mode_state.txt
media/
package-lock.json
# VSCode
.vscode/
.history/
*.code-workspace
include:
- project: "AlekSIS/official/AlekSIS"
file: /ci/general.yml
# - project: "AlekSIS/official/AlekSIS"
# file: /ci/test.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/prepare/lock.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/test/lint.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/docker/dist.yml
......@@ -35,6 +35,7 @@ commands =
[testenv:build]
commands_pre =
poetry install
poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
commands = poetry build
......@@ -46,6 +47,11 @@ commands =
poetry run isort aleksis/
poetry run black aleksis/
[testenv:makemessages]
commands =
poetry run aleksis-admin makemessages --no-wrap -e html,txt,py,email -i static -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la
poetry run aleksis-admin makemessages --no-wrap -d djangojs -i **/node_modules -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la
[flake8]
max_line_length = 100
exclude = migrations,tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment