Skip to content

Commit

Permalink
Test: Fixed install error of Python 2.7, 3,5, 3,6 on Ubuntu in GitHub…
Browse files Browse the repository at this point in the history
… Actions

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Dec 11, 2022
1 parent 02db06f commit d36c5f7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
40 changes: 36 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,49 @@ jobs:
if [[ "${{ github.event_name }}" == "schedule" || "${{ github.head_ref }}" =~ ^release_ ]]; then \
echo "::set-output name=matrix::{ \
\"os\": [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ], \
\"python-version\": [ \"3.5\", \"3.6\", \"3.7\", \"3.8\", \"3.9\", \"3.10\" ], \
\"package_level\": [ \"minimum\", \"latest\" ] \
\"python-version\": [ \"3.7\", \"3.8\", \"3.9\", \"3.10\" ], \
\"package_level\": [ \"minimum\", \"latest\" ], \
\"include\": [ \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.5\", \
\"package_level\": \"minimum\" \
}, \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.5\", \
\"package_level\": \"latest\" \
}, \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.6\", \
\"package_level\": \"minimum\" \
}, \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.6\", \
\"package_level\": \"latest\" \
} \
] \
}"; \
else \
echo "::set-output name=matrix::{ \
\"os\": [ \"ubuntu-latest\" ], \
\"python-version\": [ \"3.5\", \"3.10\" ], \
\"python-version\": [ \"3.10\" ], \
\"package_level\": [ \"minimum\", \"latest\" ], \
\"include\": [ \
{ \
\"os\": \"ubuntu-latest\", \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.5\", \
\"package_level\": \"minimum\" \
}, \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.5\", \
\"package_level\": \"latest\" \
}, \
{ \
\"os\": \"ubuntu-20.04\", \
\"python-version\": \"3.6\", \
\"package_level\": \"minimum\" \
}, \
Expand Down
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Released: not yet
Python >=3.7, by pinning importlib-metadata to <5.0.0 on these Python
versions.

* Test: Fixed install error of Python 2.7, 3,5, 3,6 on Ubuntu in GitHub Actions.

**Enhancements:**

**Cleanup:**
Expand Down

0 comments on commit d36c5f7

Please sign in to comment.