sop-java/.woodpecker/.build.yml

18 lines
542 B
YAML
Raw Normal View History

2022-08-01 16:03:46 +02:00
pipeline:
run:
2023-01-22 17:07:17 +01:00
image: gradle:7.5-jdk8-jammy
2022-08-01 16:03:46 +02:00
commands:
2023-01-22 17:07:17 +01:00
# Install Sequoia-SOP
- apt update && apt install --yes sqop
# Checkout code
2022-08-01 16:40:18 +02:00
- git checkout $CI_COMMIT_BRANCH
2023-01-22 17:07:17 +01:00
# Prepare CI
- cp external-sop/src/main/resources/sop/external/config.json.ci external-sop/src/main/resources/sop/external/config.json
2022-08-01 16:09:41 +02:00
# Code works
- gradle test
# Code is clean
- gradle check javadocAll
# Code has coverage
- gradle jacocoRootReport coveralls
2022-08-01 16:03:46 +02:00
secrets: [COVERALLS_REPO_TOKEN]