mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 21:07:57 +01:00
19 lines
588 B
YAML
19 lines
588 B
YAML
steps:
|
|
run:
|
|
when:
|
|
event: push
|
|
image: gradle:7.6-jdk11-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]
|