Skip to content

Commit

Permalink
[github action] Use the latest dill in the CI for 3.11-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 25, 2022
1 parent f8b9996 commit 7d6667d
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/primer_run_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
uses: actions/setup-python@v4.2.0
with:
python-version: ${{ matrix.python-version }}

- name: Get latest astroid commit
id: get-astroid-sha
run: |
Expand Down Expand Up @@ -88,6 +87,11 @@ jobs:
path: tests/.pylint_primer_tests/commit_string.txt

# Run primer
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv/bin/activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pylint primer
run: |
. venv/bin/activate
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/primer_run_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ jobs:
git pull origin ${{ steps.download-main-run.outputs.result }} --no-edit --no-commit --no-rebase
# Run primer
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv/bin/activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pylint primer
run: |
. venv/bin/activate
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
. venv/bin/activate
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test.txt
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv/bin/activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pytest
run: |
. venv/bin/activate
Expand Down Expand Up @@ -209,6 +214,11 @@ jobs:
. venv\\Scripts\\activate
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test_min.txt
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv\\Scripts\\activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pytest
run: |
. venv\\Scripts\\activate
Expand Down Expand Up @@ -255,6 +265,11 @@ jobs:
. venv/bin/activate
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test.txt
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv/bin/activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pytest
run: |
. venv/bin/activate
Expand Down Expand Up @@ -299,6 +314,11 @@ jobs:
. venv/bin/activate
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test_min.txt
- if: "contains(matrix.python-version, '-dev')"
# TODO: 2.16 Remove this when dill release their next version
run: |
. venv/bin/activate
pip install git+https://github.com/uqfoundation/dill.git@25a7e450ed76c7a0820834a3a91134476b1b8253
- name: Run pytest
run: |
. venv/bin/activate
Expand Down

0 comments on commit 7d6667d

Please sign in to comment.