Skip to content

Commit

Permalink
fix(tests): fix cargo-package integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Jan 28, 2025
1 parent f320a1a commit 619b000
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions tests/integration/plugins/test_cargo_package/parts.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
description: A test project that builds a cargo package and checks for its output in backstage.
parts:
root:
source: https://github.com/tomprogrammer/rust-ascii/archive/refs/tags/v1.1.0.tar.gz
plugin: cargo-package
cargo-package-cargo-command: /usr/bin/cargo
check:
plugin: nil
after: [root]
override-build: |
test -f "${CRAFT_BACKSTAGE}/cargo_registry/ascii-1.1.0/.cargo-checksum.json"
root:
source: https://github.com/tomprogrammer/rust-ascii/archive/refs/tags/v1.1.0.tar.gz
plugin: cargo-package
cargo-package-cargo-command: /usr/bin/cargo

0 comments on commit 619b000

Please sign in to comment.