mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-01 19:42:08 +01:00
17 lines
562 B
YAML
17 lines
562 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/testsuite/external/config.json.ci external-sop/src/main/resources/sop/testsuite/external/config.json
|
|
# Code works
|
|
- gradle test
|
|
# Code is clean
|
|
- gradle check javadocAll
|
|
# Code has coverage
|
|
- gradle jacocoRootReport coveralls
|
|
secrets: [COVERALLS_REPO_TOKEN]
|