Skip to content

Commit 41f6509

Browse files
Update GitHub Actions workflow for Python setup
1 parent 31bf745 commit 41f6509

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

‎.github/workflows/testing1309.yml‎

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,42 @@
1-
21
name: Testing-1087
32

4-
53
on:
64
workflow_dispatch:
75

86
jobs:
97
ubuntu-24-python38:
108
name: Ubuntu 24.04 / Python 3.8
119
runs-on: self-hosted
10+
container: ubuntu:24.04
1211
steps:
12+
- name: Install prerequisites
13+
run: |
14+
apt-get update
15+
apt-get install -y --no-install-recommends ca-certificates curl git sudo
16+
1317
- name: Set up Python 3.8
1418
uses: actions/setup-python@v5
1519
with:
1620
python-version: '3.8'
1721

22+
- name: Upgrade pip
23+
run: python -m pip install --upgrade pip
24+
1825
ubuntu-20-python38:
1926
name: Ubuntu 20.04 / Python 3.8
2027
needs: ubuntu-24-python38
2128
runs-on: self-hosted
29+
container: ubuntu:20.04
2230
steps:
31+
- name: Install prerequisites
32+
run: |
33+
apt-get update
34+
apt-get install -y --no-install-recommends ca-certificates curl git sudo
35+
2336
- name: Set up Python 3.8
2437
uses: actions/setup-python@v5
2538
with:
2639
python-version: '3.8'
2740

2841
- name: Upgrade pip
29-
run: python -m pip install --upgrade pip
42+
run: python -m pip install --upgrade pip

0 commit comments

Comments
 (0)