mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-23 05:17:58 +01:00
17 lines
542 B
YAML
17 lines
542 B
YAML
pipeline:
|
|
run:
|
|
image: gradle:7.5-jdk8-jammy
|
|
commands:
|
|
# Install Sequoia-SOP
|
|
- apt update && apt install --yes sqop
|
|
# Checkout code
|
|
- git checkout $CI_COMMIT_BRANCH
|
|
# Prepare CI
|
|
- cp external-sop/src/main/resources/sop/external/config.json.ci external-sop/src/main/resources/sop/external/config.json
|
|
# Code works
|
|
- gradle test
|
|
# Code is clean
|
|
- gradle check javadocAll
|
|
# Code has coverage
|
|
- gradle jacocoRootReport coveralls
|
|
secrets: [COVERALLS_REPO_TOKEN]
|