Skip to content

Commit ddac319

Browse files
authored
Merge pull request #216 from rohanpm/ci-apt-get-fix
[ci] fix install of OS packages in CI workflows
2 parents b4e4404 + 72fc4f6 commit ddac319

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
uses: actions/setup-python@v2
1616
with:
1717
python-version: 3.8
18-
- name: Install system dependencies
19-
run: sudo apt-get install -y rpm libkrb5-dev
18+
- name: Install OS packages
19+
run: |
20+
sudo apt-get -y update
21+
sudo apt-get install -y rpm libkrb5-dev
2022
- name: Install Tox
2123
run: pip install tox
2224
- name: Run Tox

.github/workflows/tox-test.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- name: Install RPM
11-
run: sudo apt-get install -y rpm libkrb5-dev
10+
- name: Install OS packages
11+
run: |
12+
sudo apt-get -y update
13+
sudo apt-get install -y rpm libkrb5-dev
1214
- name: Setup Python
1315
uses: actions/setup-python@v2
1416
with:
@@ -21,8 +23,10 @@ jobs:
2123
runs-on: ubuntu-latest
2224
steps:
2325
- uses: actions/checkout@v2
24-
- name: Install RPM
25-
run: sudo apt-get install -y rpm libkrb5-dev
26+
- name: Install OS packages
27+
run: |
28+
sudo apt-get -y update
29+
sudo apt-get install -y rpm libkrb5-dev
2630
- name: Setup Python
2731
uses: actions/setup-python@v2
2832
with:
@@ -35,8 +39,10 @@ jobs:
3539
runs-on: ubuntu-latest
3640
steps:
3741
- uses: actions/checkout@v2
38-
- name: Install RPM
39-
run: sudo apt-get install -y rpm libkrb5-dev
42+
- name: Install OS packages
43+
run: |
44+
sudo apt-get -y update
45+
sudo apt-get install -y rpm libkrb5-dev
4046
- name: Setup Python
4147
uses: actions/setup-python@v2
4248
with:
@@ -61,8 +67,10 @@ jobs:
6167
runs-on: ubuntu-latest
6268
steps:
6369
- uses: actions/checkout@v2
64-
- name: Install RPM
65-
run: sudo apt-get install -y rpm libkrb5-dev
70+
- name: Install OS packages
71+
run: |
72+
sudo apt-get -y update
73+
sudo apt-get install -y rpm libkrb5-dev
6674
- name: Setup Python
6775
uses: actions/setup-python@v2
6876
with:
@@ -75,8 +83,10 @@ jobs:
7583
runs-on: ubuntu-latest
7684
steps:
7785
- uses: actions/checkout@v2
78-
- name: Install RPM
79-
run: sudo apt-get install -y rpm libkrb5-dev
86+
- name: Install OS packages
87+
run: |
88+
sudo apt-get -y update
89+
sudo apt-get install -y rpm libkrb5-dev
8090
- name: Setup Python
8191
uses: actions/setup-python@v2
8292
with:
@@ -89,8 +99,10 @@ jobs:
8999
runs-on: ubuntu-latest
90100
steps:
91101
- uses: actions/checkout@v2
92-
- name: Install RPM
93-
run: sudo apt-get install -y rpm libkrb5-dev
102+
- name: Install OS packages
103+
run: |
104+
sudo apt-get -y update
105+
sudo apt-get install -y rpm libkrb5-dev
94106
- name: Setup Python
95107
uses: actions/setup-python@v2
96108
with:

0 commit comments

Comments
 (0)