mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-21 12:47:56 +01:00
CI: Test external-sop against sqop
This commit is contained in:
parent
3789b60f0b
commit
c1ae5314a0
3 changed files with 18 additions and 1 deletions
|
@ -18,3 +18,7 @@ License: Apache-2.0
|
||||||
Files: .woodpecker/*
|
Files: .woodpecker/*
|
||||||
Copyright: 2022 the original author or authors.
|
Copyright: 2022 the original author or authors.
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
|
||||||
|
Files: external-sop/src/main/resources/sop/external/*
|
||||||
|
Copyright: 2023 the original author or authors
|
||||||
|
License: Apache-2.0
|
|
@ -1,8 +1,13 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
run:
|
run:
|
||||||
image: gradle:7.5-jdk8
|
image: gradle:7.5-jdk8-jammy
|
||||||
commands:
|
commands:
|
||||||
|
# Install Sequoia-SOP
|
||||||
|
- apt update && apt install --yes sqop
|
||||||
|
# Checkout code
|
||||||
- git checkout $CI_COMMIT_BRANCH
|
- 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
|
# Code works
|
||||||
- gradle test
|
- gradle test
|
||||||
# Code is clean
|
# Code is clean
|
||||||
|
|
8
external-sop/src/main/resources/sop/external/config.json.ci
vendored
Normal file
8
external-sop/src/main/resources/sop/external/config.json.ci
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"backends": [
|
||||||
|
{
|
||||||
|
"name": "Sequoia-SOP",
|
||||||
|
"sop": "/usr/bin/sqop"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue