1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 21:14:43 +01:00
MadelineProto/.woodpecker/.test.yml
2023-11-14 18:26:14 +01:00

41 lines
643 B
YAML

matrix:
php:
- "8.1"
platform:
- linux/aarch64
labels:
platform: ${platform}
clone:
git:
when:
event:
- tag
- push
- pull_request
image: woodpeckerci/plugin-git:2.1.0
settings:
depth: 1
lfs: false
recursive: false
tags: true
steps:
test:
group: test
image: danog/madelineproto:next
when:
event:
- tag
- push
- pull_request
environment:
- PHP_VERSION=${php}
- PLATFORM=${platform}
- TAG=${CI_COMMIT_TAG}
commands:
- apk add bash
- tests/test.sh
- php tests/handshake.php