Skip to content

Commit

Permalink
ci: install imdl binary
Browse files Browse the repository at this point in the history
Unit tests have a dependency with the binary: `imdl`.
It's used to create and parse torrents.
Before running tests with `cargo test` you have to install with: `cargo install imdl`.
  • Loading branch information
josecelano committed May 17, 2023
1 parent ef23d74 commit 7c07920
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish_crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install torrent edition tool (needed for testing)
run: cargo install imdl
- name: Run Tests
run: cargo test

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2
- name: Install torrent edition tool (needed for testing)
run: cargo install imdl
- name: Run Tests
run: cargo test

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
run: sleep 15s
shell: bash
- uses: Swatinem/rust-cache@v1
- name: Install torrent edition tool (needed for testing)
run: cargo install imdl
- name: Run tests
run: cargo test
- name: Stop databases
Expand Down

0 comments on commit 7c07920

Please sign in to comment.