Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions to use py3.10/3.11 for Ubuntu 22.04 support #147

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion .github/workflows/index-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:
python-version:
required: false
type: string
default: "3.6"
default: "3.8"

jobs:
regenerate_index:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pack-bootstrap_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
pack_description:
type: string
required: true

homepage:
type: string
required: false
Expand All @@ -40,12 +39,11 @@ on:
type: string
required: false
default: TSC

# make sure to update the python version if needed
required_check_context:
type: string
required: false
default: "Build and Test / Python 3.6"
default: "Build and Test / Python 3.8"
required_check_app_id:
type: string
required: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pack-build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
python-version:
required: false
type: string
default: '["3.6","3.8","3.9"]'
default: '["3.8", "3.9", "3.10", "3.11"]'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 42 will need updating which says what the job output will be

enable-common-libs:
description: |
When true, use an st2.conf that sets packs.enable_common_libs=true
Expand All @@ -39,7 +39,7 @@ jobs:
build_and_test:
runs-on: ubuntu-20.04
# When parent workflow is named "Build and Test" this shows up as:
# "Build and Test / Python 3.6,3.8,3.9"
# "Build and Test / Python 3.8,3.9,3.10,3.11"
name: 'Python ${{ matrix.python-version }}'
strategy:
matrix:
Expand Down Expand Up @@ -74,11 +74,11 @@ jobs:

services:
mongo:
image: mongo:3.4
image: mongo:4.4
ports:
- 27017:27017
rabbitmq:
image: rabbitmq:3
image: rabbitmq:3.12
ports:
- 5672:5672
#redis:
Expand Down