summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorlaixintao <laixintaoo@gmail.com>2022-12-29 11:33:41 +0800
committerGitHub <noreply@github.com>2022-12-29 11:33:41 +0800
commit9a9b1657aaba7a48f3f31ecb526445b69a5c8c3d (patch)
treed8d0e021219b0746513809f5fdba2c1fc59d6e42 /.github
parent0a7e628b80339d064f3b75aee4a95bb20c992472 (diff)
fix changelog and ci (#456)
* fix changelog * fix python version * add 3.11.1 * upgade setup python4 * upgrade to 3.6.15 * downgrade ubuntu * drop python3.6 support * udpate changelog * fix idle typo * ignore commands json * skip commands.json * fix path * ignore data docs * ignore unit test as well
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yaml20
1 files changed, 11 insertions, 9 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 9ccb108..01a9dfd 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -11,8 +11,8 @@ jobs:
name: Pytest
strategy:
matrix:
- os: [ubuntu-latest]
- python: ['3.6', '3.7', '3.8', '3.9', '3.10']
+ os: ["ubuntu-20.04"]
+ python: ["3.7", "3.8", "3.9", "3.10", "3.11.1"]
redis: [5, 6, 7]
runs-on: ${{ matrix.os }}
@@ -25,16 +25,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-python@v2
+ - uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- architecture: 'x64'
+ architecture: "x64"
- name: Cache venv
uses: actions/cache@v2
with:
path: venv
# Look to see if there is a cache hit for the corresponding requirements file
- key: poetryenv-${{ matrix.os }}-${{ matrix.python }}-${{ hashFiles('poetry.lock') }}
+ key:
+ poetryenv-${{ matrix.os }}-${{ matrix.python }}-${{
+ hashFiles('poetry.lock') }}
- name: Install Dependencies
run: |
python3 -m venv venv
@@ -58,12 +60,12 @@ jobs:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
- ignore_words_list: fo,ists,oll,optin,ot,smove,tre,whe
- exclude_file: docs/assets/demo.svg
- - uses: actions/setup-python@v1
+ ignore_words_list: fo,ists,oll,optin,ot,smove,tre,whe,EXAT,exat
+ skip: ./docs/assets/demo.svg,./iredis/data/commands.json,./iredis/data/commands/*,./tests/unittests/*
+ - uses: actions/setup-python@v4
with:
python-version: 3.7
- architecture: 'x64'
+ architecture: "x64"
- name: Cache venv
uses: actions/cache@v2
with: