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

Merge branch 'feature/compile-messages-before-build' into 'master'

Feature/compile messages before build

See merge request !5
parents 22f79c6f e21aa771
No related branches found
No related tags found
1 merge request!5Feature/compile messages before build
Pipeline #16397 failed
...@@ -2,6 +2,16 @@ include: ...@@ -2,6 +2,16 @@ 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/test/lint.yml
- project: "AlekSIS/official/AlekSIS" - project: "AlekSIS/official/AlekSIS"
file: /ci/build_dist.yml file: /ci/test/security.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: "/ci/deploy/trigger_dist.yml"
- project: "AlekSIS/official/AlekSIS"
file: "/ci/docker/image.yml"
- project: "AlekSIS/official/AlekSIS"
file: /ci/publish/pypi.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/deploy/review.yml
...@@ -9,9 +9,11 @@ whitelist_externals = poetry ...@@ -9,9 +9,11 @@ whitelist_externals = poetry
skip_install = true skip_install = true
envdir = {toxworkdir}/globalenv envdir = {toxworkdir}/globalenv
commands_pre = commands_pre =
- poetry install poetry install
poetry run aleksis-admin yarn install
poetry run aleksis-admin collectstatic --no-input
commands = commands =
- poetry run pytest --cov=. {posargs} aleksis/ poetry run pytest --cov=. {posargs} aleksis/
[testenv:selenium] [testenv:selenium]
setenv = setenv =
...@@ -33,6 +35,7 @@ commands = ...@@ -33,6 +35,7 @@ commands =
[testenv:build] [testenv:build]
commands_pre = commands_pre =
poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
commands = poetry build commands = poetry build
[testenv:docs] [testenv:docs]
......
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