From e1b135c667447c157c87ac7de6a1b8913aa02166 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 13 Dec 2021 22:37:07 +0100 Subject: ci: only run integration tests once --- .gitlab-ci.yml | 28 ++++++++++------------------ 1 file 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 -- cgit v1.2.3