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

ci: fix test suite #1354

Merged
merged 5 commits into from
Jan 24, 2024
Merged
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
Prev Previous commit
Next Next commit
ci(lint-test): update actions
  • Loading branch information
Nytelife26 committed Sep 9, 2023
commit 80707e175bcfce65716e584ffc29892b836d3e68
20 changes: 10 additions & 10 deletions .github/workflows/ci-lint-test.yml
Original file line number Diff line number Diff line change
@@ -10,19 +10,19 @@ jobs:
shell: bash
strategy:
matrix:
python: [3.9]
python: ["3.10"]
steps:
- name: "[INIT] Checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "[INIT] Install Python ${{ matrix.python }}"
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: "[INIT] Install Poetry"
uses: snok/[email protected]
- name: "[INIT] Restore dependency cache"
id: cache-restore
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
@@ -36,26 +36,26 @@ 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", "pypy3.9", "pypy3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: "[INIT] Checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: "[INIT] Install Python ${{ matrix.python }}"
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: "[INIT] Install Poetry"
uses: snok/[email protected]
- name: "[INIT] Restore dependency cache"
id: cache-restore
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/pip
@@ -67,7 +67,7 @@ jobs:
- name: "[EXEC] Test"
run: ./utils ci test --coverage
- name: "[EXEC] Upload coverage to Codecov"
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
flags: ${{ matrix.os }},py${{ matrix.python }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"