Skip to content

Commit

Permalink
.circleci: use --no-ansi with poetry due to a bug with terminal size
Browse files Browse the repository at this point in the history
For details see python-poetry/poetry#7184.
  • Loading branch information
Ivan Stanković committed Mar 27, 2023
1 parent aa5a15d commit 305a010
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
- run: pyenv global 3.10.10
- run: pip install -U pip
- run: pip install poetry==1.4.1
- run: poetry install -vvv
- run: grep -q /home/circleci/.+/bin/activate ~/.bashrc || echo "source $(poetry env info -p)/bin/activate" >> ~/.bashrc
- run: poetry install -vvv --no-ansi
- run: grep -q /home/circleci/.+/bin/activate ~/.bashrc || echo "source $(poetry --no-ansi env info -p)/bin/activate" >> ~/.bashrc

- save_cache:
key: beamer-dependencies-{{ checksum "poetry.lock" }}-{{ .Environment.CACHE_VERSION }}
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
executor: vm
steps:
- initialize-environment
- run: poetry run ape test -s --gas beamer/tests/contracts
- run: poetry --no-ansi run ape test -s --gas beamer/tests/contracts

compile-contracts:
executor: vm
Expand All @@ -183,7 +183,7 @@ jobs:
executor: vm
steps:
- initialize-environment
- run: poetry run ape test beamer/tests/{agent,health} -s --gas --cov beamer --cov-report=term
- run: poetry --no-ansi run ape test beamer/tests/{agent,health} -s --gas --cov beamer --cov-report=term

e2e-test-ethereum:
executor: vm
Expand Down

0 comments on commit 305a010

Please sign in to comment.