Skip to content

Commit 90102a5

Browse files
committed
CI: Fix python3.6 runs using still-maintained Leap 15.6 based image
1 parent c1e66d0 commit 90102a5

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/tox.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [pull_request]
55

66
jobs:
77
build:
8-
runs-on: ${{ matrix.os }}
8+
runs-on: ubuntu-latest
99
strategy:
1010
max-parallel: 4
1111
fail-fast: false
@@ -18,19 +18,25 @@ jobs:
1818
- "3.11"
1919
- "3.12"
2020
- "3.13"
21-
include:
22-
- os: "ubuntu-latest"
23-
- os: "ubuntu-20.04"
24-
python-version: "3.6"
25-
21+
container: ${{ contains(matrix.python-version, '3.6') && 'registry.opensuse.org/home/okurz/container/leap15/containers/leap:openQA-python-client-ci' || '' }}
2622
steps:
2723
- uses: actions/checkout@v5
2824
with:
2925
fetch-depth: 0
3026
- name: Set up Python ${{ matrix.python-version }}
27+
if: matrix.python-version != '3.6'
3128
uses: actions/[email protected]
3229
with:
3330
python-version: ${{ matrix.python-version }}
31+
- name: Adjust 3.6 image
32+
if: matrix.python-version == '3.6'
33+
run: |
34+
ln -s /usr/bin/python3 /usr/local/bin/python
35+
whoami
36+
ls -l /
37+
ls -la /github/home/
38+
mkdir -p /github/home/.cache/
39+
ls -la /github/home/
3440
- name: Install dependencies
3541
run: |
3642
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)