Skip to content

Commit 6826997

Browse files
committed
chore(ci): update run-on-arch-action
1 parent 4ae5860 commit 6826997

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci_python.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,20 @@ jobs:
105105
pytest --import-mode=importlib
106106
- name: pytest
107107
if: ${{ !startsWith(matrix.target, 'x86') && matrix.target != 'ppc64' }}
108-
uses: uraimo/run-on-arch-action@v2.7.2
108+
uses: uraimo/run-on-arch-action@v3
109109
with:
110110
arch: ${{ matrix.target }}
111-
distro: ubuntu22.04
111+
distro: bookworm
112112
githubToken: ${{ github.token }}
113113
install: |
114114
apt-get update
115-
apt-get install -y --no-install-recommends python3 python3-pip
116-
pip3 install -U pip
115+
apt-get install -y --no-install-recommends python3-full
117116
run: |
118117
set -e
119118
cd python
119+
python -m venv venv
120+
. venv/bin/activate
121+
pip3 install -U pip
120122
pip3 install --pre "mtc_token_healing[test]" --find-links dist --force-reinstall
121123
pytest --import-mode=importlib
122124

0 commit comments

Comments
 (0)