File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 - name : Checkout Code Repository
2020 uses : actions/checkout@v3
2121
22- - name : Set up Python 3.12
22+ - name : Set up Python 3.11
2323 uses : actions/setup-python@v4
2424 with :
25- python-version : 3.12
25+ python-version : 3.11
2626
2727 # Run all pre-commit hooks on all the files.
2828 # Getting only staged files can be tricky in case a new PR is opened
3636 runs-on : ubuntu-latest
3737 strategy :
3838 matrix :
39- python-version : [3.11, 3.12] # Test on both Python 3.11 and 3.12
39+ python-version : [" 3.11", " 3.12", "3.13"]
4040 defaults :
4141 run :
4242 shell : bash -l {0}
@@ -64,10 +64,14 @@ jobs:
6464 auto-update-conda : true
6565 python-version : ${{ matrix.python-version }}
6666
67+ - name : Fix pip and setuptools for Python 3.12+
68+ run : |
69+ python -m ensurepip --upgrade
70+ python -m pip install --upgrade --force-reinstall pip setuptools wheel
71+
6772 - name : Install `zstash` Package
6873 run : |
69- python -m pip install --upgrade pip
70- pip install .
74+ python -m pip install .
7175
7276 - name : Run Tests
7377 run : |
@@ -146,4 +150,4 @@ jobs:
146150 branch : gh-pages
147151 directory : gh-pages
148152 github_token : ${{ secrets.GITHUB_TOKEN }}
149- force : true
153+ force : true
You can’t perform that action at this time.
0 commit comments