Skip to content

Commit

Permalink
fix: unittest github action
Browse files Browse the repository at this point in the history
  • Loading branch information
vndee committed Jul 7, 2024
1 parent 5ed870e commit ae2cbdc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:
with:
python-version: '3.11'

- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "::add-path::${HOME}/.local/bin"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
poetry install
- name: Run unittests
run: python -m unittest discover -s tests -v
run: |
poetry run python -m unittest discover -s tests -v

0 comments on commit ae2cbdc

Please sign in to comment.