diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e349f99..5bdbc80 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,13 +15,13 @@ test: - build image: python:3.11 before_script: - - python -m venv .venv + - python3 -m venv .venv - source .venv/bin/activate - pip install --upgrade pip - pip install pytest pytest-asyncio aiofiles aiohttp script: - source .venv/bin/activate - - pytest tests/ -v --tb=short + - python3 -m pytest tests/ -v --tb=short rules: - if: $CI_PIPELINE_SOURCE == "push" - if: $CI_PIPELINE_SOURCE == "merge_request_event"