Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
c65faucet still needs setuptools, but poetry < 1.2.0 ignores .toml dependency for setuptools.
  • Loading branch information
anarkiwi committed Sep 7, 2022
1 parent d53c59b commit ecfa231
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ jobs:
cd lib/poseidon_core && poetry run pylint --fail-under=4 poseidon_core/ && cd ../../
- name: Test with pytest
# https://github.com/python-poetry/poetry/issues/4511
# TODO: setuptools needed by c65faucet, but poetry < 1.2.0 does not allow adding setuptools.
run: |
export POSEIDON_CONFIG=$PWD/config/poseidon.config
poetry run pip install 'setuptools==64.0.3'
cd lib/poseidon_api && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../
cd lib/poseidon_cli && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../
cd lib/poseidon_core && poetry run pytest --cov-report term-missing --cov=. --cov-report=xml && cd ../../
Expand Down
72 changes: 38 additions & 34 deletions lib/poseidon_core/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ecfa231

Please sign in to comment.