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

remove EOL python 2.7, 3.5 from CI #231

Merged
merged 1 commit into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
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
20 changes: 9 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,18 @@ jobs:
max-parallel: 15
matrix:
# Explicitly test for all supported pythons
python-version: ['2.x', 3.5, 3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macOS-latest, windows-latest]
exclude:
exclude:
# Exclude what is already tested in the Push workflow
# (i.e. latest python 2, latest python 3)
- os: ubuntu-latest
python-version: '2.x'
# (i.e. latest python 3)
- os: ubuntu-latest
python-version: '3.x'

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -47,9 +45,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: '3.x'

Expand All @@ -66,4 +64,4 @@ jobs:
- name: Unit Tests (TTS langs)
env:
TEST_LANGS: all
run: pytest -v gtts/tests/test_tts.py
run: pytest -v gtts/tests/test_tts.py
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['2.x', '3.x']
python-version: ['3.x']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
strategy:
matrix:
# Only the 'latest' of each
python-version: ['2.x', '3.x']
python-version: ['3.x']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -40,4 +40,4 @@ jobs:
- name: Upload Coverage Report
uses: codecov/[email protected]
with:
token: ${{ secrets.codecov_token }}
token: ${{ secrets.codecov_token }}