Fix CI: use python3 instead of python
This commit is contained in:
parent
fc33032d74
commit
54087c5bb8
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue