Skip to content

Commit

Permalink
poetry debug
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdagger committed Oct 20, 2023
1 parent a6af91a commit fd71208
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,18 @@ jobs:
run: |
pipx install poetry
pipx list --verbose
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache for poetry venv and tools
uses: actions/cache@v3
with:
path: |
./.cache
./.venv
key: venv-${{ hashFiles('poetry.lock') }}
- run: poetry install --without doc
cache: 'poetry'
- run: |
poetry install --without doc
- name: Unit tests with pytest
run: poetry run pytest
run: |
poetry run pytest
- name: Static typechecking with mypy
run: poetry run mypy ./zammadoo
run: |
poetry run mypy ./zammadoo
- name: Static code analysis with pylint
run: |
poetry run pylint ./zammadoo
2 changes: 1 addition & 1 deletion tests/test_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_representation_of_tags(request, client):

def test_tag_iteration(rclient):
for tag in rclient.tags:
assert tag.keys() == TypedTag.__required_keys__
assert tag.keys() == {"name", "id", "count"}
break


Expand Down

0 comments on commit fd71208

Please sign in to comment.