install poetry in workflow
@@ -14,12 +14,14 @@ jobs:
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
- sudo apt-get install -yq --no-install-recommends python3-wheel python3.9 python3.9-dev python3-setuptools dialog apt-utils tshark jq && \
+ sudo apt-get install -yq --no-install-recommends python3-wheel python3.9 python3.9-dev python3-setuptools dialog apt-utils tshark jq curl && \
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && \
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 && \
python3 -m pip install --upgrade pip && \
- poetry install -E test && \
+ curl -sSL https://install.python-poetry.org | python3 - && \
export PATH=/home/runner/.local/bin:$PATH && \
+ poetry config virtualenvs.create false && \
+ poetry install -E test && \
PYTHONPATH=. pytype . && \
PYTHONPATH=. pytest -l -s -n auto -v --cov=tests/ --cov=networkml/ --cov-report term-missing -c .coveragerc --rabbitmq-port=5672 && coverage report && coverage xml && \
jupyter nbconvert --ExecutePreprocessor.timeout=300 --to notebook --execute notebooks/networkml_exploration.ipynb && \
