21 lines
456 B
YAML
21 lines
456 B
YAML
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
|