diff options
author | mathieui <mathieui@mathieui.net> | 2021-12-13 22:37:07 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-12-13 22:37:07 +0100 |
commit | e1b135c667447c157c87ac7de6a1b8913aa02166 (patch) | |
tree | 221009b9d0066fc209322f5039ff5ef8627e0128 | |
parent | 4ca1de92b3e4f58ced179fcefa877184bf421232 (diff) | |
download | slixmpp-e1b135c667447c157c87ac7de6a1b8913aa02166.tar.gz slixmpp-e1b135c667447c157c87ac7de6a1b8913aa02166.tar.bz2 slixmpp-e1b135c667447c157c87ac7de6a1b8913aa02166.tar.xz slixmpp-e1b135c667447c157c87ac7de6a1b8913aa02166.zip |
ci: only run integration tests once
-rw-r--r-- | .gitlab-ci.yml | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a622deb6..ac5a8b62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,41 +23,33 @@ test: - pip3 install emoji aiohttp - ./run_tests.py -test_integration: +test-3.10: stage: test tags: - docker - image: ubuntu:latest - only: - variables: - - $CI_ACCOUNT1 - - $CI_ACCOUNT2 + image: python:3.10 script: - apt update - apt install -y python3 python3-pip cython3 gpg - - pip3 install emoji aiohttp aiodns - - ./run_integration_tests.py + - pip3 install emoji aiohttp + - ./run_tests.py -test_integration-3.10: +test-3.11: stage: test tags: - docker - image: python:3.10 - only: - variables: - - $CI_ACCOUNT1 - - $CI_ACCOUNT2 + image: python:3.11-rc script: - apt update - apt install -y python3 python3-pip cython3 gpg - - pip3 install emoji aiohttp aiodns - - ./run_integration_tests.py + - pip3 install emoji aiohttp + - ./run_tests.py -test_integration-3.11: +test_integration: stage: test tags: - docker - image: python:3.11-rc + image: ubuntu:latest only: variables: - $CI_ACCOUNT1 |