Skip to content

Commit 1a67588

Browse files
authored
Update install_requirements.yml
1 parent f82088a commit 1a67588

1 file changed

Lines changed: 13 additions & 26 deletions

File tree

.github/workflows/install_requirements.yml

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,28 @@
99
tags:
1010
- 'v*'
1111

12-
###################################
13-
###################################
14-
1512
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1613
jobs:
17-
test-job:
14+
install_requirements-ubuntu:
1815
runs-on: ubuntu-latest
1916
strategy:
20-
fail-fast: false
2117
matrix:
22-
# The same array lives in test-windows.yml, so make any updates there too.
23-
container_image: ["ubuntu:16.04", "ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04"]
24-
# strategy:
25-
# matrix:
26-
# image_name:
27-
# [
28-
# ubuntu:22.04,
29-
# ubuntu:20.04,
30-
# ]
18+
container_image: ["ubuntu:18.04", "ubuntu:20.04", "ubuntu:22.04"]
3119
container:
3220
image: ${{ matrix.container_image }}
3321
steps:
3422
- uses: actions/checkout@v3
35-
- name: Test one
36-
run: echo "Hello from this container!"
37-
- name: Test one and a half
38-
run: ls
39-
- name: Pogojni
40-
if: ${{ matrix.container_image == 'ubuntu:16.04' }}
41-
run: echo issa me the old one
4223
- name: Set up Python
4324
run: apt-get update -qq && apt-get -qq install python3 python3-pip sudo
44-
- name: Test two minus one third
25+
- name: Install requirements
4526
run: cd examples && python3 install_requirements.py
46-
- name: Test two
47-
run: echo "Hello from here too!!!"
48-
- name: Test three
49-
run: cat /etc/*release*
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

0 commit comments

Comments
 (0)