Skip to content

Commit 862b256

Browse files
committed
try fix CI
1 parent f3e6f99 commit 862b256

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/sonar.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2323
- name: get nunavut
2424
run: |
25-
python3 -m venv .venv
26-
. .venv/bin/activate
27-
pip install git+https://github.com/OpenCyphal/[email protected]
25+
pip install --break-system-packages git+https://github.com/OpenCyphal/[email protected]
2826
- name: Install sonar-scanner and build-wrapper
2927
uses: SonarSource/sonarcloud-github-c-cpp@v2
3028
- name: Run tests

.github/workflows/tests.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ jobs:
3030
- name: get nunavut
3131
# TODO: setup a venv, cache, and distribute to the other jobs.
3232
run: |
33-
python3 -m venv .venv
34-
. .venv/bin/activate
35-
pip install git+https://github.com/OpenCyphal/[email protected]
33+
pip install --break-system-packages git+https://github.com/OpenCyphal/[email protected]
3634
- name: configure
3735
run: >
3836
./build-tools/bin/verify.py
@@ -72,9 +70,7 @@ jobs:
7270
key: ${{ runner.os }}-${{ hashFiles('cmake/modules/*.cmake') }}
7371
- name: get nunavut
7472
run: |
75-
python3 -m venv .venv
76-
. .venv/bin/activate
77-
pip install git+https://github.com/OpenCyphal/[email protected]
73+
pip install --break-system-packages git+https://github.com/OpenCyphal/[email protected]
7874
- name: run tests
7975
env:
8076
GTEST_COLOR: yes
@@ -119,9 +115,7 @@ jobs:
119115
key: ${{ runner.os }}-${{ hashFiles('cmake/modules/*.cmake') }}
120116
- name: get nunavut
121117
run: |
122-
python3 -m venv .venv
123-
. .venv/bin/activate
124-
pip install git+https://github.com/OpenCyphal/[email protected]
118+
pip install --break-system-packages git+https://github.com/OpenCyphal/[email protected]
125119
- name: doc-gen
126120
run: >
127121
./build-tools/bin/verify.py

0 commit comments

Comments
 (0)