Skip to content

Commit

Permalink
cancel 3.12 testing due to pendulum not support py3.12 yet
Browse files Browse the repository at this point in the history
see: sdispater/pendulum#600
this will revert part of #461
  • Loading branch information
laixintao committed Oct 30, 2023
1 parent 81f6889 commit 293c59c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-20.04"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11.1", "3.12"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11.1"]
redis: [5, 6, 7, 7.2]
runs-on: ${{ matrix.os }}

Expand All @@ -38,23 +38,12 @@ jobs:
key:
poetryenv-${{ matrix.os }}-${{ matrix.python }}-${{
hashFiles('poetry.lock') }}

- name: Install Dependencies
run: |
python3 -m venv venv
. venv/bin/activate
pip install -U pip setuptools
pip install poetry
- name: Install beta version of pendulum
run: |
. venv/bin/activate
pip install pendulum==3.0.0b1
if: matrix.python == '3.12'

- name: Poetry install
run: |
. venv/bin/activate
poetry install
python -c "import sys; print(sys.version)"
pip list
Expand Down

0 comments on commit 293c59c

Please sign in to comment.