1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:14:39 +01:00
MadelineProto/.woodpecker/.test.yml

56 lines
900 B
YAML
Raw Normal View History

2023-09-01 14:51:30 +02:00
matrix:
php:
- "8.1"
clone:
git:
when:
event:
- tag
- push
- pull_request
2023-09-01 16:34:32 +02:00
image: woodpeckerci/plugin-git:2.1.0
2023-09-01 14:51:30 +02:00
settings:
depth: 1
lfs: false
2023-09-01 15:14:28 +02:00
recursive: false
2023-09-01 14:51:30 +02:00
tags: true
2023-09-01 14:52:26 +02:00
steps:
2023-09-01 14:51:30 +02:00
test:
group: test
image: danog/madelineproto:next
when:
event:
- tag
2023-11-30 17:44:10 +01:00
secrets:
- API_ID
- API_HASH
- BOT_TOKEN
- DEST
commands:
- apk add bash
2023-11-30 20:22:39 +01:00
- tests/test.sh phpunit
2023-11-30 19:05:41 +01:00
2023-11-30 21:02:26 +01:00
test_light:
2023-11-30 17:44:10 +01:00
group: test
image: danog/madelineproto:next
when:
event:
2023-09-01 14:51:30 +02:00
- pull_request
2023-11-30 20:22:39 +01:00
- push
2023-09-01 14:51:30 +02:00
commands:
- apk add bash
2023-11-30 19:05:41 +01:00
- tests/test.sh phpunit-light
handshake:
group: test
image: danog/madelineproto:next
when:
event:
- pull_request
- tag
- push
commands:
- apk add bash
2023-11-30 21:03:20 +01:00
- tests/test.sh handshake