Skip to content
Commits on Source (3)
......@@ -4,7 +4,7 @@ bats:
image: registry.shore.co.il/ci-images:bats
tags: [ns4.shore.co.il]
before_script:
- mkdir reports
- mkdir -p reports
script:
- bats --timing --recursive --formatter junit tests/ | tee reports/bats.xml
variables:
......
......@@ -3,6 +3,9 @@ pre-commit-repo:
stage: test
image: registry.shore.co.il/ci-images:pre-commit
tags: [ns4.shore.co.il]
rules:
- exists:
- .pre-commit-hooks.yaml
variables:
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
script:
......
......@@ -6,6 +6,8 @@ pre-commit:
tags: [ns4.shore.co.il]
rules:
- if: $CI_PIPELINE_SOURCE != "schedule"
exists:
- .pre-commit-config.yaml
variables:
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
SKIP: |-
......
---
presentation build:
stage: build
tags: [ns4.shore.co.il]
image:
name: registry.shore.co.il/presentation
entrypoint: [""]
before_script:
- |
[ -z "${PRESENTATION_ROOT:-}" ] || cd "$PRESENTATION_ROOT"
script:
- make --jobs=4
artifacts:
paths:
- '*.pdf'
- '**/*.pdf'