Skip to content

Commit

Permalink
CI and Setup reflecting new python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
timotta committed Feb 17, 2023
1 parent 86203d9 commit 76a9faf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.7, 3.8, 3.9, 3.x]
python: [3.9, 3.10, 3.11]
services:
rabbitmq:
image: rabbitmq:3.7-management-alpine
Expand Down Expand Up @@ -40,12 +40,12 @@ jobs:
run: pipenv run all-tests

- name: Coverage upload
if: ${{matrix.python == '3.8'}}
if: ${{matrix.python == '3.11'}}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
- name: Coverage Skipped
if: ${{matrix.python != '3.8'}}
if: ${{matrix.python != '3.11'}}
run: echo "Coverage uploaded only on python 3.8 run"

lint:
Expand All @@ -55,13 +55,13 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Install python 3.8
- name: Install python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip/pipenv
run: pip install -U pip==22.0.4 pipenv==2022.4.30
run: pip install -U pip==22.3.1 pipenv==2023.2.4

- name: pipenv install --dev
run: pipenv install --system --deploy --ignore-pipfile --dev
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.7, 3.8, 3.9, 3.x]
python: [3.9, 3.10, 3.11]
services:
rabbitmq:
image: rabbitmq:3.7-management-alpine
Expand Down Expand Up @@ -38,12 +38,12 @@ jobs:
run: pipenv run all-tests

- name: Coverage upload
if: ${{matrix.python == '3.8'}}
if: ${{matrix.python == '3.11'}}
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
- name: Coverage Skipped
if: ${{matrix.python != '3.8'}}
if: ${{matrix.python != '3.11'}}
run: echo "Coverage uploaded only on python 3.8 run"

lint:
Expand All @@ -53,13 +53,13 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Install python 3.8
- name: Install python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip/pipenv
run: pip install -U pip==22.0.4 pipenv==2022.4.30
run: pip install -U pip==22.3.1 pipenv==2023.2.4

- name: pipenv install --dev
run: pipenv install --system --deploy --ignore-pipfile --dev
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Install python 3.8
- name: Install python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -U pip==22.0.4
run: pip install -U pip==22.3.1

- name: Install twine
run: pip install twine==3.2.0
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
author_email="[email protected]",
license="MIT",
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 76a9faf

Please sign in to comment.