Skip to content

Commit

Permalink
fix sed command (#7)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zwerschke <[email protected]>
  • Loading branch information
Bela Stoyan and pavelzw authored Jan 30, 2024
1 parent d19ced8 commit 066e91b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci-copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,5 @@ jobs:
fetch-depth: 0 # copier doesn't like shallow clones
- name: Set up pixi
uses: prefix-dev/setup-pixi@ca3b9ac762955fad216e3d8e0bbf22087071c89c
- name: Run unittests
uses: quantco/pytest-action@v2
with:
report-title: Check project generation
click-to-expand: false
custom-pytest: pixi run pytest
- name: Test
run: pixi run test
2 changes: 1 addition & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ description:
default: This hook runs {{ tool }}.

_tasks:
- sed -i "s/TOOL_VERSION/$(micromamba search -c conda-forge {{ conda_package }} --json | jq -r '.result.pkgs[0].version')/g" environment.yml
- sed -i.bak "s/TOOL_VERSION/$(micromamba search -c conda-forge {{ conda_package }} --json | jq -r '.result.pkgs[0].version')/g" environment.yml
- git init
- git branch -M main
1 change: 0 additions & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ micromamba = ">=1.5.6,<1.6"
pytest = ">=7.4.4,<7.5"
pytest-emoji = ">=0.2.0,<0.3"
pytest-md = ">=0.2.0,<0.3"
sed = ">=4.7,<5"

0 comments on commit 066e91b

Please sign in to comment.