Skip to content

Commit

Permalink
template update
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed May 23, 2023
1 parent 277812f commit de06688
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
"commit": "14ad9af6b9bc74b19f7d343e453d2600763ecc47",
"commit": "246841667e45f349b0f9024d5e118d06b12df49b",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
28 changes: 12 additions & 16 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ jobs:
name: combined-environments
path: ci
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
channels: conda-forge
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.10
- name: Install package
run: |
Expand All @@ -87,13 +86,12 @@ jobs:
name: combined-environments
path: ci
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
channels: conda-forge
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.10
- name: Install package
run: |
Expand All @@ -114,13 +112,12 @@ jobs:
name: combined-environments
path: ci
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/combined-environment-ci.yml
environment-name: DEVELOP
channels: conda-forge
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=3.10
- name: Install package
run: |
Expand Down Expand Up @@ -151,13 +148,12 @@ jobs:
name: combined-environments
path: ci
- name: Install Conda environment with Micromamba
uses: mamba-org/provision-with-micromamba@v15
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ci/combined-environment${{ matrix.extra }}.yml
environment-name: DEVELOP${{ matrix.extra }}
channels: conda-forge
cache-env: true
extra-specs: |
cache-environment: true
create-args: >-
python=${{ matrix.python-version }}
- name: Install package
run: |
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config-cruft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/cruft/cruft
rev: 2.14.0
rev: 2.15.0
hooks:
- id: cruft
entry: cruft update -y
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repos:
- id: blackdoc
additional_dependencies: [black==22.3.0]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.265
rev: v0.0.269
hooks:
- id: ruff
args: [--fix]
Expand All @@ -29,7 +29,7 @@ repos:
hooks:
- id: mdformat
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.8.0
rev: v2.9.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --preserve-quotes]
Expand Down

0 comments on commit de06688

Please sign in to comment.