summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorlaixintao <laixintaoo@gmail.com>2023-10-30 14:35:19 +0800
committerlaixintao <laixintaoo@gmail.com>2023-10-30 14:35:19 +0800
commit9a434e14f33b3b8efc548606126304b273500005 (patch)
tree7bf8eaa26e365cbd188f1f3fdbfe403b8f540bb9 /.github
parent64829793914c06971dfa8b5cb7df5be3937fd914 (diff)
use pendulum 3.0 for python3.12
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 94c8ae2..4049554 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -38,12 +38,20 @@ 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: pip install pendulum==3.0.0b1
+ if: matrix.python-version == '3.12'
+
+ - name: Poetry install
+ run: |
poetry install
python -c "import sys; print(sys.version)"
pip list