Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Sep 7, 2024
1 parent dc1bedf commit 3fa36c7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,21 @@ jobs:
- name: Run unit tests
run: |
cd lnbits
cdir=$(pwd)
cd $HOME/lnbits
poetry_env_path=$(poetry env info --path)
source $poetry_env_path/bin/activate
cd ..
cd $cdir
pytest tests/unit/*.py -s
- name: Setup integration tests
run: bash tests/integration/start.sh

- name: Run integration tests
run: |
cd lnbits
cdir=$(pwd)
cd $HOME/lnbits
poetry_env_path=$(poetry env info --path)
source $poetry_env_path/bin/activate
cd ..
cd $cdir
pytest tests/integration/*.py -s

0 comments on commit 3fa36c7

Please sign in to comment.