mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-11-14 03:52:05 +01:00
Add woodpecker CI
This commit is contained in:
parent
ee1fd669ed
commit
73525092e8
3 changed files with 23 additions and 0 deletions
|
@ -14,3 +14,7 @@ Files: gradle*
|
|||
Copyright: 2015 the original author or authors.
|
||||
License: Apache-2.0
|
||||
|
||||
# Woodpecker build files
|
||||
Files: .woodpecker/*
|
||||
Copyright: 2022 the original author or authors.
|
||||
License: Apache-2.0
|
||||
|
|
12
.woodpecker/.build.yml
Normal file
12
.woodpecker/.build.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
pipeline:
|
||||
run:
|
||||
image: gradle:7.5-jdk8
|
||||
commands:
|
||||
- git checkout $CI_COMMIT_BRANCH
|
||||
# Code works
|
||||
- gradle test
|
||||
# Code is clean
|
||||
- gradle check javadocAll
|
||||
# Code has coverage
|
||||
- gradle jacocoRootReport coveralls
|
||||
secrets: [COVERALLS_REPO_TOKEN]
|
7
.woodpecker/.reuse.yml
Normal file
7
.woodpecker/.reuse.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Code is licensed properly
|
||||
# See https://reuse.software/
|
||||
pipeline:
|
||||
reuse:
|
||||
image: fsfe/reuse:latest
|
||||
commands:
|
||||
- reuse lint
|
Loading…
Reference in a new issue