Skip to content

Commit

Permalink
Update GitHub workflow to use pinned environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
pirmink committed Apr 10, 2024
1 parent ea50620 commit 36c5251
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
blueprint-pre-commit:
moveroplot-pre-commit:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -19,16 +19,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11.0
python-version: 3.11.7
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: conda-forge
channel-priority: flexible
show-channel-urls: true
- name: Create env from unpinned reqs
- name: Create env from pinned reqs
run: |
conda env create --name dev_env --file requirements/requirements.yml
conda env create --name dev_env --file requirements/environment.yml
- name: Install project into env
run: |
conda run --name dev_env pip install --no-deps .
Expand Down

0 comments on commit 36c5251

Please sign in to comment.