[CI] add woodpecker CI
This commit is contained in:
parent
84a7ac020f
commit
31fe7f7e06
6
.woodpecker/lint.yml
Normal file
6
.woodpecker/lint.yml
Normal file
@ -0,0 +1,6 @@
|
||||
steps:
|
||||
mypy:
|
||||
image: python:3
|
||||
script:
|
||||
- pip3 install mypy types-setuptools
|
||||
- mypy slixmpp
|
9
.woodpecker/test-integration.yml
Normal file
9
.woodpecker/test-integration.yml
Normal 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
17
.woodpecker/test.yml
Normal 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"
|
Loading…
Reference in New Issue
Block a user