|
11 | 11 |
|
12 | 12 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel |
13 | 13 | 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: |
28 | 38 | # runs-on: ubuntu-latest |
| 39 | +# strategy: |
| 40 | +# matrix: |
| 41 | +# container_image: ["fedora:34", "fedora:35", "fedora:36"] |
29 | 42 | # container: |
30 | | -# image: ubuntu:16.04 |
| 43 | +# image: ${{ matrix.container_image }} |
31 | 44 | # steps: |
32 | 45 | # - uses: actions/checkout@v3 |
33 | 46 | # - 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 |
35 | 48 | # - 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: |
38 | 51 | runs-on: ubuntu-latest |
39 | 52 | strategy: |
40 | 53 | 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"] |
42 | 55 | container: |
43 | | - image: ${{ matrix.container_image }} |
| 56 | + image: ${{ matrix.container_image }} |
44 | 57 | 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