Skip to content

Commit 7d6667d

Browse files
[github action] Use the latest dill in the CI for 3.11-dev
1 parent f8b9996 commit 7d6667d

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/primer_run_main.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
uses: actions/[email protected]
3535
with:
3636
python-version: ${{ matrix.python-version }}
37-
3837
- name: Get latest astroid commit
3938
id: get-astroid-sha
4039
run: |
@@ -88,6 +87,11 @@ jobs:
8887
path: tests/.pylint_primer_tests/commit_string.txt
8988

9089
# Run primer
90+
- if: "contains(matrix.python-version, '-dev')"
91+
# TODO: 2.16 Remove this when dill release their next version
92+
run: |
93+
. venv/bin/activate
94+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
9195
- name: Run pylint primer
9296
run: |
9397
. venv/bin/activate

.github/workflows/primer_run_pr.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ jobs:
148148
git pull origin ${{ steps.download-main-run.outputs.result }} --no-edit --no-commit --no-rebase
149149
150150
# Run primer
151+
- if: "contains(matrix.python-version, '-dev')"
152+
# TODO: 2.16 Remove this when dill release their next version
153+
run: |
154+
. venv/bin/activate
155+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
151156
- name: Run pylint primer
152157
run: |
153158
. venv/bin/activate

.github/workflows/tests.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
. venv/bin/activate
5555
python -m pip install -U pip setuptools wheel
5656
pip install -U -r requirements_test.txt
57+
- if: "contains(matrix.python-version, '-dev')"
58+
# TODO: 2.16 Remove this when dill release their next version
59+
run: |
60+
. venv/bin/activate
61+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
5762
- name: Run pytest
5863
run: |
5964
. venv/bin/activate
@@ -209,6 +214,11 @@ jobs:
209214
. venv\\Scripts\\activate
210215
python -m pip install -U pip setuptools wheel
211216
pip install -U -r requirements_test_min.txt
217+
- if: "contains(matrix.python-version, '-dev')"
218+
# TODO: 2.16 Remove this when dill release their next version
219+
run: |
220+
. venv\\Scripts\\activate
221+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
212222
- name: Run pytest
213223
run: |
214224
. venv\\Scripts\\activate
@@ -255,6 +265,11 @@ jobs:
255265
. venv/bin/activate
256266
python -m pip install -U pip setuptools wheel
257267
pip install -U -r requirements_test.txt
268+
- if: "contains(matrix.python-version, '-dev')"
269+
# TODO: 2.16 Remove this when dill release their next version
270+
run: |
271+
. venv/bin/activate
272+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
258273
- name: Run pytest
259274
run: |
260275
. venv/bin/activate
@@ -299,6 +314,11 @@ jobs:
299314
. venv/bin/activate
300315
python -m pip install -U pip setuptools wheel
301316
pip install -U -r requirements_test_min.txt
317+
- if: "contains(matrix.python-version, '-dev')"
318+
# TODO: 2.16 Remove this when dill release their next version
319+
run: |
320+
. venv/bin/activate
321+
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
302322
- name: Run pytest
303323
run: |
304324
. venv/bin/activate

0 commit comments

Comments
 (0)