Dropped support for python 3.6, 3.7 and added support for python 3.12 (#717)
Signed-off-by: saimedhi <saimedhi@amazon.com>
This commit is contained in:
+10
-10
@@ -9,13 +9,13 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python 3.7
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3.7 -m pip install nox
|
||||
python3.8 -m pip install nox
|
||||
- name: Lint the code
|
||||
run: nox -s lint
|
||||
|
||||
@@ -24,13 +24,13 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python 3.7
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3.7 -m pip install nox
|
||||
python3.8 -m pip install nox
|
||||
- name: Run the api generator
|
||||
run: nox -s generate
|
||||
|
||||
@@ -39,16 +39,16 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python 3.7
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
- name: Install build tools
|
||||
run: |
|
||||
python3.7 -m pip install --upgrade build
|
||||
python3.8 -m pip install --upgrade build
|
||||
- name: Build project for distribution
|
||||
run: |
|
||||
python3.7 -m build
|
||||
python3.8 -m build
|
||||
|
||||
twine-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -8,11 +8,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python3.7 -m pip install nox
|
||||
python3.8 -m pip install nox
|
||||
|
||||
- name: Make
|
||||
run: |
|
||||
|
||||
@@ -7,14 +7,15 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
entry:
|
||||
- { os: 'ubuntu-20.04', python-version: "3.6" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.7" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.8" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.9" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.10" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.11" }
|
||||
- { os: 'macos-latest', python-version: "3.11" }
|
||||
- { os: 'windows-latest', python-version: "3.11" }
|
||||
- { os: 'ubuntu-latest', python-version: "3.12" }
|
||||
- { os: 'macos-latest', python-version: "3.12" }
|
||||
- { os: 'windows-latest', python-version: "3.12" }
|
||||
|
||||
name: test (os=${{ matrix.entry.os }}, python=${{ matrix.entry.python-version }})
|
||||
continue-on-error: ${{ matrix.entry.experimental || false }}
|
||||
|
||||
@@ -17,13 +17,13 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: Config git to rebase
|
||||
run: git config --global pull.rebase true
|
||||
- name: Set up Python 3.7
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.7
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3.7 -m pip install nox
|
||||
python3.8 -m pip install nox
|
||||
- name: Generate API
|
||||
run: nox -s generate
|
||||
- name: Get current date
|
||||
|
||||
Reference in New Issue
Block a user