Skip to content

Commit

Permalink
Merge pull request #27 from sisp/ci/poetry-venv
Browse files Browse the repository at this point in the history
Enable Poetry's virtual env in CI
  • Loading branch information
timofurrer committed Mar 26, 2024
2 parents b8f7e01 + 8ddda1d commit 0027c18
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install -U pip poetry
- run: poetry config virtualenvs.create false
- run: poetry install
- run: ruff check src/ tests/
- run: ruff format --diff --check src/ tests/
- run: mypy src/ tests/
- run: pytest
- run: poetry run ruff check src/ tests/
- run: poetry run ruff format --diff --check src/ tests/
- run: poetry run mypy src/ tests/
- run: poetry run pytest

cd:
needs: [ci]
Expand Down

0 comments on commit 0027c18

Please sign in to comment.