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 14d04df
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.10"]
python-version: ["3.8"] #, "3.9", "3.10", "3.11", "pypy-3.10"]

steps:
- uses: actions/checkout@v3
Expand All @@ -29,21 +29,17 @@ 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 run python --version
poetry install --without doc
- name: Unit tests with pytest
run: poetry run pytest
run: |
poetry run pytest
pytest
- name: Static typechecking with mypy
run: poetry run mypy ./zammadoo
- name: Static code analysis with pylint
Expand Down

0 comments on commit 14d04df

Please sign in to comment.