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/ ...@@ -64,6 +64,8 @@ docs/_build/
# Generated files # Generated files
aleksis/node_modules/ aleksis/node_modules/
aleksis/static/ aleksis/static/
aleksis/whoosh_index/
poetry.lock
.coverage .coverage
.mypy_cache/ .mypy_cache/
...@@ -72,3 +74,8 @@ htmlcov/ ...@@ -72,3 +74,8 @@ htmlcov/
maintenance_mode_state.txt maintenance_mode_state.txt
media/ media/
package-lock.json package-lock.json
# VSCode
.vscode/
.history/
*.code-workspace
include: include:
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/general.yml file: /ci/general.yml
# - project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
# file: /ci/test.yml file: /ci/prepare/lock.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/test/lint.yml file: /ci/test/lint.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/test/security.yml file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/docker/dist.yml
...@@ -35,6 +35,7 @@ commands = ...@@ -35,6 +35,7 @@ commands =
[testenv:build] [testenv:build]
commands_pre = commands_pre =
poetry install
poetry run sh -c "cd aleksis; aleksis-admin compilemessages" poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
commands = poetry build commands = poetry build
...@@ -46,6 +47,11 @@ commands = ...@@ -46,6 +47,11 @@ commands =
poetry run isort aleksis/ poetry run isort aleksis/
poetry run black 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] [flake8]
max_line_length = 100 max_line_length = 100
exclude = migrations,tests 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