Skip to content

Commit fe0a8c5

Browse files
committed
fixing workflow
1 parent 4934a55 commit fe0a8c5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
# WIThOUT DOCKER
6969
#pip install .
7070
# END WITHOUT DOCKER
71-
docker exec --workdir /home/wrench/ wrench-daemon-container sudo python3 -m pip install build
71+
docker exec --workdir /home/wrench/ wrench-daemon-container sudo python3 -m pip install --break-system-packages build
7272
docker exec --workdir /home/wrench/ wrench-daemon-container sudo python3 -m build
73-
docker exec --workdir /home/wrench/ wrench-daemon-container sudo python3 -m pip install ./dist/wrench-*.whl
73+
docker exec --workdir /home/wrench/ wrench-daemon-container sudo python3 -m pip install --break-system-packages ./dist/wrench-*.whl
7474
- name: Run all tests
7575
run: |
7676
# WITHOUT DOCKER
@@ -95,7 +95,7 @@ jobs:
9595
#pip install coverage
9696
#bash ./.compute_coverage.sh
9797
# END WITHOUT DOCKER
98-
docker exec wrench-daemon-container sudo pip install coverage
98+
docker exec wrench-daemon-container sudo pip install --break-system-packages coverage
9999
COVERAGE_PERCENTAGE=$(docker exec --workdir /home/wrench/ wrench-daemon-container bash ./.compute_coverage.sh)
100100
echo "COVERAGE_PERCENTAGE: $COVERAGE_PERCENTAGE"
101101
badge_url="https://img.shields.io/badge/Coverage-${COVERAGE_PERCENTAGE}25-brightgreen"
@@ -135,11 +135,11 @@ jobs:
135135
- name: Install dependencies
136136
run: |
137137
sudo apt-get install -y python3-sphinx sphinx-rtd-theme-common
138-
pip install sphinx-rtd-theme
139-
pip install sphinx_rtd_theme recommonmark
138+
pip install --break-system-packages sphinx-rtd-theme
139+
pip install --break-system-packages sphinx_rtd_theme recommonmark
140140
- name: Check package install
141141
run: |
142-
pip install .
142+
pip install --break-system-packages .
143143
- name: Build documentation
144144
run: |
145145
cd docs

0 commit comments

Comments
 (0)