install pytest-asyncio in poetry env
This commit is contained in:
parent
4210995c9e
commit
7ee5552467
1 changed files with 2 additions and 1 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -21,7 +21,6 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install poetry
|
||||
pip install pytest-asyncio
|
||||
|
||||
- name: Run setup script
|
||||
run: |
|
||||
|
|
@ -33,6 +32,7 @@ jobs:
|
|||
cd $HOME/lnbits
|
||||
poetry_env_path=$(poetry env info --path)
|
||||
source $poetry_env_path/bin/activate
|
||||
pip install pytest-asyncio
|
||||
cd $cdir
|
||||
pytest tests/unit/*.py -s
|
||||
|
||||
|
|
@ -45,5 +45,6 @@ jobs:
|
|||
cd $HOME/lnbits
|
||||
poetry_env_path=$(poetry env info --path)
|
||||
source $poetry_env_path/bin/activate
|
||||
pip install pytest-asyncio
|
||||
cd $cdir
|
||||
pytest tests/integration/*.py -s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue