Skip to content

Commit 942f96e

Browse files
committed
Additional fixes
1 parent 117f695 commit 942f96e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/build_workflow.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff 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
@@ -36,7 +36,7 @@ jobs:
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

0 commit comments

Comments
 (0)