2023-11-15 14:26:24 +01:00
|
|
|
steps:
|
2022-08-01 16:03:46 +02:00
|
|
|
run:
|
2024-09-19 19:38:59 +02:00
|
|
|
when:
|
|
|
|
event: push
|
2023-11-15 14:26:24 +01:00
|
|
|
image: gradle:7.6-jdk11-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
|
2023-01-31 18:20:27 +01:00
|
|
|
- cp external-sop/src/main/resources/sop/testsuite/external/config.json.ci external-sop/src/main/resources/sop/testsuite/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
|
2023-11-15 14:26:24 +01:00
|
|
|
secrets: [coveralls_repo_token]
|