Skip to content

Commit 7885e47

Browse files
committed
ci: Migrate to uv
1 parent 06ae178 commit 7885e47

14 files changed

Lines changed: 27 additions & 73 deletions

.github/workflows/_runner-chimera.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Cache ccache
3532
uses: actions/cache/restore@v4
3633
with:
@@ -42,5 +39,5 @@ jobs:
4239
mkdir -p /app/.ccache
4340
export CCACHE_DIR=/app/.ccache
4441
export CHIMERA_SDK_HOME=/app/install/chimera-sdk
45-
pytest test_platforms.py -v -n 4 -m "chimera and ${{ inputs.pytest-marker }}"
42+
uv run pytest test_platforms.py -v -n 4 -m "chimera and ${{ inputs.pytest-marker }}"
4643
shell: bash

.github/workflows/_runner-cortexm.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Cache ccache
3532
uses: actions/cache/restore@v4
3633
with:
@@ -41,5 +38,5 @@ jobs:
4138
cd DeeployTest
4239
mkdir -p /app/.ccache
4340
export CCACHE_DIR=/app/.ccache
44-
pytest test_platforms.py -v -n 4 -m "cortexm and ${{ inputs.pytest-marker }}"
41+
uv run pytest test_platforms.py -v -n 4 -m "cortexm and ${{ inputs.pytest-marker }}"
4542
shell: bash

.github/workflows/_runner-generic.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Cache ccache
3532
uses: actions/cache/restore@v4
3633
with:
@@ -41,5 +38,5 @@ jobs:
4138
cd DeeployTest
4239
mkdir -p /app/.ccache
4340
export CCACHE_DIR=/app/.ccache
44-
pytest test_platforms.py -v -n 4 -m "generic and ${{ inputs.pytest-marker }}"
41+
uv run pytest test_platforms.py -v -n 4 -m "generic and ${{ inputs.pytest-marker }}"
4542
shell: bash

.github/workflows/_runner-mempool.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Cache ccache
3532
uses: actions/cache/restore@v4
3633
with:
@@ -41,5 +38,5 @@ jobs:
4138
cd DeeployTest
4239
mkdir -p /app/.ccache
4340
export CCACHE_DIR=/app/.ccache
44-
pytest test_platforms.py -v -n 4 -m "mempool and ${{ inputs.pytest-marker }}"
41+
uv run pytest test_platforms.py -v -n 4 -m "mempool and ${{ inputs.pytest-marker }}"
4542
shell: bash

.github/workflows/_runner-siracusa-neureka-tiled.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
3532
run: |
3633
cd DeeployTest
3734
mkdir -p /app/.ccache
3835
export CCACHE_DIR=/app/.ccache
39-
pytest test_platforms.py -v -n 4 -m "siracusa_neureka_tiled and ${{ inputs.pytest-marker }}"
36+
uv run pytest test_platforms.py -v -n 4 -m "siracusa_neureka_tiled and ${{ inputs.pytest-marker }}"
4037
shell: bash

.github/workflows/_runner-siracusa-tiled.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Run Test
3532
run: |
3633
cd DeeployTest
37-
pytest test_platforms.py -v -m "siracusa_tiled and ${{ inputs.pytest-marker }}"
34+
uv run pytest test_platforms.py -v -m "siracusa_tiled and ${{ inputs.pytest-marker }}"
3835
shell: bash

.github/workflows/_runner-siracusa.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ jobs:
2929
uses: actions/checkout@v4
3030
with:
3131
submodules: recursive
32-
- name: Build Deeploy
33-
shell: bash
34-
run: pip install -e .
3532
- name: Cache ccache
3633
uses: actions/cache/restore@v4
3734
with:
@@ -44,5 +41,5 @@ jobs:
4441
export CCACHE_DIR=/app/.ccache
4542
4643
# Run tests using pytest markers
47-
pytest test_platforms.py -v -n 4 -m "siracusa and ${{ inputs.pytest-marker }}"
44+
uv run pytest test_platforms.py -v -n 4 -m "siracusa and ${{ inputs.pytest-marker }}"
4845
shell: bash

.github/workflows/_runner-snitch-tiled-sequential.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
3532
run: |
3633
cd DeeployTest
3734
mkdir -p /app/.ccache
3835
export CCACHE_DIR=/app/.ccache
39-
pytest test_platforms.py -v -n 4 -m "snitch_tiled and ${{ inputs.pytest-marker }}"
36+
uv run pytest test_platforms.py -v -n 4 -m "snitch_tiled and ${{ inputs.pytest-marker }}"
4037
shell: bash

.github/workflows/_runner-snitch.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Cache ccache
3532
uses: actions/cache/restore@v4
3633
with:
@@ -41,5 +38,5 @@ jobs:
4138
cd DeeployTest
4239
mkdir -p /app/.ccache
4340
export CCACHE_DIR=/app/.ccache
44-
pytest test_platforms.py -v -n 4 -m "snitch and ${{ inputs.pytest-marker }}"
41+
uv run pytest test_platforms.py -v -n 4 -m "snitch and ${{ inputs.pytest-marker }}"
4542
shell: bash

.github/workflows/_runner-softhier.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
submodules: recursive
31-
- name: Build Deeploy
32-
shell: bash
33-
run: pip install -e .
3431
- name: Run Test # VJUNG: Run tests with 4 parallel threads as GitHub action VM has 4 cores.
3532
run: |
3633
export SOFTHIER_INSTALL_DIR=/app/install/softhier
3734
cd DeeployTest
3835
mkdir -p /app/.ccache
3936
export CCACHE_DIR=/app/.ccache
40-
pytest test_platforms.py -v -n 4 -m "softhier and ${{ inputs.pytest-marker }}" --toolchain=GCC --toolchain-install-dir=$SOFTHIER_INSTALL_DIR/third_party/toolchain/install
37+
uv run pytest test_platforms.py -v -n 4 -m "softhier and ${{ inputs.pytest-marker }}" --toolchain=GCC --toolchain-install-dir=$SOFTHIER_INSTALL_DIR/third_party/toolchain/install
4138
shell: bash

0 commit comments

Comments
 (0)