Skip to content

Commit de4602f

Browse files
authored
Update install_requirements.yml
1 parent 70389c5 commit de4602f

File tree

1 file changed

+36
-25
lines changed

1 file changed

+36
-25
lines changed

.github/workflows/install_requirements.yml

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,50 @@
1111

1212
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1313
jobs:
14-
install_requirements-ubuntu:
15-
runs-on: ubuntu-latest
16-
strategy:
17-
matrix:
18-
container_image: ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04"]
19-
container:
20-
image: ${{ matrix.container_image }}
21-
steps:
22-
- uses: actions/checkout@v3
23-
- name: Set up Python
24-
run: apt-get update -qq && apt-get -qq install python3 python3-pip sudo
25-
- name: Install requirements
26-
run: cd examples && python3 install_requirements.py
27-
# install_requirements-ubuntu-old:
14+
# install_requirements-ubuntu:
15+
# runs-on: ubuntu-latest
16+
# strategy:
17+
# matrix:
18+
# container_image: ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04"]
19+
# container:
20+
# image: ${{ matrix.container_image }}
21+
# steps:
22+
# - uses: actions/checkout@v3
23+
# - name: Set up Python
24+
# run: apt-get update -qq && apt-get -qq install python3 python3-pip sudo
25+
# - name: Install requirements
26+
# run: cd examples && python3 install_requirements.py
27+
# # install_requirements-ubuntu-old:
28+
# # runs-on: ubuntu-latest
29+
# # container:
30+
# # image: ubuntu:16.04
31+
# # steps:
32+
# # - uses: actions/checkout@v3
33+
# # - name: Set up Python
34+
# # run: apt-get update -qq && apt-get -qq install python3.6 python3.6-pip sudo
35+
# # - name: Install requirements
36+
# # run: cd examples && python3.6 install_requirements.py
37+
# install_requirements-fedora:
2838
# runs-on: ubuntu-latest
39+
# strategy:
40+
# matrix:
41+
# container_image: ["fedora:34", "fedora:35", "fedora:36"]
2942
# container:
30-
# image: ubuntu:16.04
43+
# image: ${{ matrix.container_image }}
3144
# steps:
3245
# - uses: actions/checkout@v3
3346
# - name: Set up Python
34-
# run: apt-get update -qq && apt-get -qq install python3.6 python3.6-pip sudo
47+
# run: yum update -y && yum install -y python3 python3-pip sudo
3548
# - name: Install requirements
36-
# run: cd examples && python3.6 install_requirements.py
37-
install_requirements-fedora:
49+
# run: cd examples && python3 install_requirements.py
50+
install_dependencies:
3851
runs-on: ubuntu-latest
3952
strategy:
4053
matrix:
41-
container_image: ["fedora:34", "fedora:35", "fedora:36"]
54+
container_image: ["fedora:34", "fedora:35", "fedora:36", "ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04"]
4255
container:
43-
image: ${{ matrix.container_image }}
56+
image: ${{ matrix.container_image }}
4457
steps:
45-
- uses: actions/checkout@v3
46-
- name: Set up Python
47-
run: yum update -y && yum install -y python3 python3-pip sudo
48-
- name: Install requirements
49-
run: cd examples && python3 install_requirements.py
58+
- name: Install sudo
59+
- run: echo "Hello from the container"
60+

0 commit comments

Comments
 (0)