Skip to content

Commit

Permalink
ci(lint-test): adjust python versions
Browse files Browse the repository at this point in the history
Python 3.6 and 3.7 lack compatibility with Ubuntu 22.04, which creates
problems and inconsistencies for the actions runners. Fortunately, both
3.6 and 3.7 are now end-of-life, so we can safely phase them out.
  • Loading branch information
Nytelife26 committed Aug 7, 2023
1 parent fb48f53 commit f3d886c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
shell: bash
strategy:
matrix:
python: [3.9]
python: ["3.11.0"]
steps:
- name: "[INIT] Checkout repository"
uses: actions/checkout@v3
Expand All @@ -36,13 +36,13 @@ jobs:
test-cover:
name: Test & Cover
if: "!(contains(github.event.head_commit.message, '[skip_ci]'))"
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9, pypy3]
python: ["3.8", "3.9", "3.10", "3.11", "pypy3.8", "pypy3.9", "pypy3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: "[INIT] Checkout repository"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include = ["proselint/", "tests/", "proselint/demo.md"]
exclude = ["tests/.gitignore"]

[tool.poetry.dependencies]
python = "^3.6.7"
python = "^3.8"
click = "^8.0.0"
future = "^0.18.2"

Expand Down

0 comments on commit f3d886c

Please sign in to comment.