diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 00000000..dce8b5e2 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,6 @@ +steps: + mypy: + image: python:3 + script: + - pip3 install mypy types-setuptools + - mypy slixmpp diff --git a/.woodpecker/test-integration.yml b/.woodpecker/test-integration.yml new file mode 100644 index 00000000..5ed4f650 --- /dev/null +++ b/.woodpecker/test-integration.yml @@ -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 diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml new file mode 100644 index 00000000..776c403d --- /dev/null +++ b/.woodpecker/test.yml @@ -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"