summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2022-12-15 17:17:49 -0500
committerLain Soykaf <lain@lain.com>2022-12-15 17:19:36 -0500
commit63d00f8123ddc5a8d9917e48216775f98ceac713 (patch)
treed65a76433291d1383f56bb8d55ce6eb29d69cfd6 /.gitlab-ci.yml
parent2186e9b62b9c88812a616a7ad0d80f4b10a2deb1 (diff)
parent204fd6faae8c39706a5ded42c7cc4fbc71a733bc (diff)
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-deps
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7c5c590ec..7fca81f4d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ variables: &global_variables
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
DB_HOST: postgres
+ DB_PORT: 5432
MIX_ENV: test
cache: &global_cache_policy
@@ -84,7 +85,13 @@ unit-testing:
script:
- mix ecto.create
- mix ecto.migrate
- - mix coveralls --preload-modules
+ - mix test --cover --preload-modules
+ coverage: '/^Line total: ([^ ]*%)$/'
+ artifacts:
+ reports:
+ coverage_report:
+ coverage_format: cobertura
+ path: coverage.xml
unit-testing-erratic:
stage: test
@@ -253,6 +260,8 @@ amd64:
- develop@pleroma/pleroma
- /^maint/.*$/@pleroma/pleroma
- /^release/.*$/@pleroma/pleroma
+ tags:
+ - amd64
artifacts: &release-artifacts
name: "pleroma-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"
paths:
@@ -286,6 +295,9 @@ amd64-musl:
artifacts: *release-artifacts
only: *release-only
image: elixir:1.11.4-alpine
+ tags:
+ - amd64
+ image: elixir:1.10.4-alpine
cache: *release-cache
variables: *release-variables
before_script: &before-release-musl