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: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install poetry
|
pip install poetry
|
||||||
pip install pytest-asyncio
|
|
||||||
|
|
||||||
- name: Run setup script
|
- name: Run setup script
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -33,6 +32,7 @@ jobs:
|
||||||
cd $HOME/lnbits
|
cd $HOME/lnbits
|
||||||
poetry_env_path=$(poetry env info --path)
|
poetry_env_path=$(poetry env info --path)
|
||||||
source $poetry_env_path/bin/activate
|
source $poetry_env_path/bin/activate
|
||||||
|
pip install pytest-asyncio
|
||||||
cd $cdir
|
cd $cdir
|
||||||
pytest tests/unit/*.py -s
|
pytest tests/unit/*.py -s
|
||||||
|
|
||||||
|
|
@ -45,5 +45,6 @@ jobs:
|
||||||
cd $HOME/lnbits
|
cd $HOME/lnbits
|
||||||
poetry_env_path=$(poetry env info --path)
|
poetry_env_path=$(poetry env info --path)
|
||||||
source $poetry_env_path/bin/activate
|
source $poetry_env_path/bin/activate
|
||||||
|
pip install pytest-asyncio
|
||||||
cd $cdir
|
cd $cdir
|
||||||
pytest tests/integration/*.py -s
|
pytest tests/integration/*.py -s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue