chore(ci): Use Woodpecker CI
ci/woodpecker/push/woodpecker Pipeline was successful Details

earnest ma 2022-04-27 18:31:27 -04:00
parent ffc80a1a3e
commit e6bdc3db91
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
2 changed files with 20 additions and 14 deletions

View File

@ -1,14 +0,0 @@
image: ubuntu/next
packages:
- dpkg
- dpkg-dev
- scdoc
- shellcheck
sources:
- https://git.sr.ht/~earnestma/aptpkg
tasks:
- test: |
cd aptpkg
make test

20
.woodpecker.yml Normal file
View File

@ -0,0 +1,20 @@
branches: main # Ideally, only run on pushes to main branch and PRs
pipeline:
pull-request:
image: ubuntu:jammy
when:
event: [ pull_request ]
commands:
- apt -y update
- apt -y install dpkg dpkg-dev scdoc shellcheck
- make test
main:
image: ubuntu:jammy
when:
event: push
branch: main
commands:
- apt -y update
- apt -y install dpkg dpkg-dev scdoc shellcheck
- make test