ci: only run integration tests once
This commit is contained in:
parent
4ca1de92b3
commit
e1b135c667
@ -23,6 +23,28 @@ test:
|
|||||||
- pip3 install emoji aiohttp
|
- pip3 install emoji aiohttp
|
||||||
- ./run_tests.py
|
- ./run_tests.py
|
||||||
|
|
||||||
|
test-3.10:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
image: python:3.10
|
||||||
|
script:
|
||||||
|
- apt update
|
||||||
|
- apt install -y python3 python3-pip cython3 gpg
|
||||||
|
- pip3 install emoji aiohttp
|
||||||
|
- ./run_tests.py
|
||||||
|
|
||||||
|
test-3.11:
|
||||||
|
stage: test
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
image: python:3.11-rc
|
||||||
|
script:
|
||||||
|
- apt update
|
||||||
|
- apt install -y python3 python3-pip cython3 gpg
|
||||||
|
- pip3 install emoji aiohttp
|
||||||
|
- ./run_tests.py
|
||||||
|
|
||||||
test_integration:
|
test_integration:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
@ -38,36 +60,6 @@ test_integration:
|
|||||||
- pip3 install emoji aiohttp aiodns
|
- pip3 install emoji aiohttp aiodns
|
||||||
- ./run_integration_tests.py
|
- ./run_integration_tests.py
|
||||||
|
|
||||||
test_integration-3.10:
|
|
||||||
stage: test
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
image: python:3.10
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_ACCOUNT1
|
|
||||||
- $CI_ACCOUNT2
|
|
||||||
script:
|
|
||||||
- apt update
|
|
||||||
- apt install -y python3 python3-pip cython3 gpg
|
|
||||||
- pip3 install emoji aiohttp aiodns
|
|
||||||
- ./run_integration_tests.py
|
|
||||||
|
|
||||||
test_integration-3.11:
|
|
||||||
stage: test
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
image: python:3.11-rc
|
|
||||||
only:
|
|
||||||
variables:
|
|
||||||
- $CI_ACCOUNT1
|
|
||||||
- $CI_ACCOUNT2
|
|
||||||
script:
|
|
||||||
- apt update
|
|
||||||
- apt install -y python3 python3-pip cython3 gpg
|
|
||||||
- pip3 install emoji aiohttp aiodns
|
|
||||||
- ./run_integration_tests.py
|
|
||||||
|
|
||||||
trigger_poezio:
|
trigger_poezio:
|
||||||
stage: trigger
|
stage: trigger
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user