Skip to content

Commit f9d04a9

Browse files
committed
use pinned version for ci and make python version consistent
1 parent e2f426e commit f9d04a9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.11.0
22+
python-version: 3.12.6
2323
- uses: conda-incubator/setup-miniconda@v2
2424
with:
2525
miniconda-version: "latest"
2626
channels: conda-forge
2727
channel-priority: flexible
2828
show-channel-urls: true
29-
- name: Create env from unpinned reqs
29+
- name: Create env from pinned reqs
3030
run: |
31-
conda env create --name dev_env --file requirements/requirements.yml
31+
conda env create --name dev_env --file requirements/environment.yml
3232
- name: Install pre-commit hooks
3333
run: |
3434
conda run --name dev_env pre-commit install-hooks

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.11.0
22+
python-version: 3.12.6
2323
- uses: conda-incubator/setup-miniconda@v2
2424
with:
2525
miniconda-version: "latest"

setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ DEFAULT_ENV_NAME="probtest"
1313

1414
# Default options
1515
ENV_NAME="${DEFAULT_ENV_NAME}"
16-
PYVERSION=3.10
16+
PYVERSION=3.12.6
1717
PINNED=true
1818
EXPORT=false
1919
CONDA=conda

0 commit comments

Comments
 (0)