Skip to content

Commit

Permalink
Use pinned environment for gihub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
pirmink committed Feb 16, 2024
1 parent 6f2f164 commit 8b99ce7
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
@@ -1,4 +1,4 @@
name: Run pre-commit in blueprint
name: Run pre-commit in pyflexplot

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
- main

jobs:
blueprint-pre-commit:
pyflexplot-pre-commit:
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -26,9 +26,9 @@ jobs:
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 8b99ce7

Please sign in to comment.