[CI] add woodpecker CI

This commit is contained in:
mathieui 2023-07-06 15:39:13 +02:00
parent 84a7ac020f
commit 31fe7f7e06
No known key found for this signature in database
GPG Key ID: C59F84CEEFD616E3
3 changed files with 32 additions and 0 deletions

6
.woodpecker/lint.yml Normal file
View File

@ -0,0 +1,6 @@
steps:
mypy:
image: python:3
script:
- pip3 install mypy types-setuptools
- mypy slixmpp

View File

@ -0,0 +1,9 @@
steps:
test_integration:
image: "python:3.11"
secrets: [ci_account1, ci_account1_password, ci_account2, ci_account2_password]
commands:
- apt-get update
- apt-get install -y python3-pip cython3 gpg
- pip3 install emoji aiohttp aiodns
- ./run_integration_tests.py

17
.woodpecker/test.yml Normal file
View File

@ -0,0 +1,17 @@
steps:
unit_tests:
image: "python:${TAG}"
commands:
- apt-get update
- apt-get install -y python3 python3-pip cython3 gpg
- pip3 install emoji aiohttp cryptography
- ./run_tests.py
matrix:
TAG:
- "3.7"
- "3.9"
- "3.8"
- "3.10"
- "3.11"
- "3.12"