Skip to content

Add openssl cli

Add openssl cli #93

Workflow file for this run

name: Test
on: [ push ]
jobs:
test_python_installation:
strategy:
fail-fast: false
matrix:
# This tests the amazon linux versions receiving standard support
# Refer - https://endoflife.date/amazon-linux
amazon-linux-version: [ 2, 2023 ]
# This tests the lowest supported python version and the latest stable python version
# Refer - https://devguide.python.org/versions/#status-of-python-versions
python-version: [ 3.8.18, 3.12.0 ]
cache: [ true, false ]
runs-on: ubuntu-latest
container: amazonlinux:${{ matrix.amazon-linux-version }}
steps:
- name: Setup runner
run: |
yum install -y git tar gzip sudo which
- uses: actions/checkout@v3
- name: Install python
uses: ./
with:
python-version: ${{ matrix.python-version }}
cache: ${{ matrix.cache }}
- name: Test installation
run: |
set -x
which python3
which python
python3 --version
python --version
python3 --version 2>&1 | grep -F "${{ matrix.python-version }}"
test "$(python3 -m pip --version)" = "$(pip3 --version)"
python --version 2>&1 | grep -F "${{ matrix.python-version }}"
test "$(python3 -m pip --version)" = "$(pip --version)"
test_major_version_installation:
runs-on: ubuntu-latest
container: amazonlinux:2023
steps:
- name: Setup runner
run: |
yum install -y git tar gzip sudo
- uses: actions/checkout@v3
- name: Install python
uses: ./
with:
python-version: "3"
- name: Test installation
run: |
set -x
python3 --version 2>&1 | grep -F "3.12.0"
test_minor_version_installation:
runs-on: ubuntu-latest
container: amazonlinux:2023
steps:
- name: Setup runner
run: |
yum install -y git tar gzip sudo
- uses: actions/checkout@v3
- name: Install python
uses: ./
with:
python-version: "3.9"
- name: Test installation
run: |
set -x
python3 --version 2>&1 | grep -F "3.9.18"
test_pip_installs:
strategy:
fail-fast: false
matrix:
amazon-linux-version: [ 2, 2023 ]
python-version: [ 3.8, 3.12 ]
cache: [ true, false ]
runs-on: ubuntu-latest
container: amazonlinux:${{ matrix.amazon-linux-version }}
steps:
- name: Setup runner
run: |
yum install -y git tar gzip sudo
- uses: actions/checkout@v3
- name: Install python
uses: ./
with:
python-version: "${{ matrix.python-version }}"
cache: ${{ matrix.cache }}
- name: Test installation
run: |
set -x
pip install requests
pip3 install s4cmd