Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 12 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,47 +45,32 @@ jobs:
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:
test_abstract_version_specification:
strategy:
fail-fast: false
matrix:
include:
- python-version: "3"
installed-python-version: "3.12.0"
- python-version: "3.9"
installed-python-version: "3.9.18"
runs-on: ubuntu-latest
container: amazonlinux:2023
steps:
- name: Setup runner
run: |
yum install -y git tar gzip sudo
run: yum install -y git tar gzip sudo

- uses: actions/checkout@v3

- name: Install python
uses: ./
with:
python-version: "3.9"
python-version: "${{ matrix.python-version }}"

- name: Test installation
run: |
set -x

python3 --version 2>&1 | grep -F "3.9.18"
python3 --version 2>&1 | grep -F "${{ matrix.installed-python-version }}"

test_pip_installs:
strategy:
Expand Down