Skip to content

Commit c56de56

Browse files
committed
feat: implement cache output parsing and validation for v1 recipes
1 parent 6bf8152 commit c56de56

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+5446
-2393
lines changed

.github/workflows/python-bindings.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ jobs:
3838
- name: Check formatting
3939
working-directory: py-rattler-build
4040
run: |
41-
pixi run -e test fmt-check
41+
pixi run fmt-check
4242
- name: Check Cargo.lock
4343
working-directory: py-rattler-build
4444
run: |
45-
pixi run -e test check-cargo-lock
45+
pixi run check-cargo-lock
4646
- name: Lint
4747
working-directory: py-rattler-build
4848
run: |
49-
pixi run -e test lint
49+
pixi run lint
5050
- name: Run tests
5151
working-directory: py-rattler-build
5252
run: |
53-
pixi run -e test test --color=yes
53+
pixi run test --color=yes

.github/workflows/rust.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,18 @@ jobs:
4444
if: ${{ contains(github.event.pull_request.labels.*.name, 'need-patch-apply-tests') && matrix.os == 'windows-latest' }}
4545
run: Add-Content $env:GITHUB_PATH "C:\Program Files\Git\usr\bin"
4646
- uses: prefix-dev/[email protected]
47-
if: ${{ contains(github.event.pull_request.labels.*.name, 'need-patch-apply-tests') && matrix.os == 'macos-latest' }}
47+
if: ${{ matrix.os == 'macos-latest' }}
4848
with:
4949
cache: true
5050
- name: Set up GNU patch on MacOS
5151
# Needed to use GNU patch instead of whatever is builtin on macos (1 test fails)
5252
if: ${{ contains(github.event.pull_request.labels.*.name, 'need-patch-apply-tests') && matrix.os == 'macos-latest' }}
5353
run: pixi global install patch=2.7.6
54+
- name: Set up patchelf on MacOS
55+
if: ${{ matrix.os == 'macos-latest' }}
56+
run: pixi global install patchelf
5457
- name: Run tests
55-
run: cargo test --features=tui,recipe-generation --verbose -- --nocapture
58+
run: cargo test --all --features=tui,recipe-generation --verbose -- --nocapture
5659
- name: Run patch apply tests
5760
# https://github.com/orgs/community/discussions/26261#discussioncomment-3251039
5861
if: ${{ contains(github.event.pull_request.labels.*.name, 'need-patch-apply-tests') }}
@@ -152,7 +155,7 @@ jobs:
152155

153156
- name: Install cross
154157
if: matrix.use-cross
155-
uses: taiki-e/install-action@f355b1dcaf1a1c56ccead97cc540a259faf4bd5a # v2
158+
uses: taiki-e/install-action@e7ef886cf8f69c25ecef6bbc2858a42e273496ec # v2
156159
with:
157160
tool: cross
158161

@@ -240,7 +243,7 @@ jobs:
240243
path: ${{ steps.package.outputs.pkg-path }}
241244

242245
- name: Publish archives and packages
243-
uses: softprops/action-gh-release@62c96d0c4e8a889135c1f3a25910db8dbe0e85f7 # v2
246+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2
244247
if: startsWith(github.ref, 'refs/tags/v')
245248
with:
246249
draft: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ target/
44
.idea/
55
__pycache__/
66
.pytest_cache/
7+
.DS_STORE
78

89
# mkdocs
910
.cache

0 commit comments

Comments
 (0)