mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-10-09 16:29:33 +02:00
CI: Test external-sop against sqop
This commit is contained in:
parent
3789b60f0b
commit
c1ae5314a0
|
@ -17,4 +17,8 @@ License: Apache-2.0
|
|||
# Woodpecker build files
|
||||
Files: .woodpecker/*
|
||||
Copyright: 2022 the original author or authors.
|
||||
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:
|
||||
run:
|
||||
image: gradle:7.5-jdk8
|
||||
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/external/config.json.ci external-sop/src/main/resources/sop/external/config.json
|
||||
# Code works
|
||||
- gradle test
|
||||
# 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