mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
updated test url
kick off the docker after static checks
This commit is contained in:
parent
18f35a09b3
commit
c9ca587420
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -22,9 +22,6 @@ jobs:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Setup Test Enviroment
|
||||
run: docker-compose up -d
|
||||
|
||||
- name: Check formatting
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
@ -37,6 +34,9 @@ jobs:
|
||||
command: check
|
||||
args: --workspace --all-targets --all-features
|
||||
|
||||
- name: Setup Test Enviroment
|
||||
run: docker-compose up -d
|
||||
|
||||
- name: Cargo Test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
||||
@ -535,7 +535,7 @@ impl TransClient {
|
||||
/// let basic_auth = BasicAuth{user: env::var("TUSER")?, password: env::var("TPWD")?};
|
||||
/// let mut client = TransClient::with_auth(&url, basic_auth);
|
||||
/// let add: TorrentAddArgs = TorrentAddArgs {
|
||||
/// filename: Some("https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso.torrent".to_string()),
|
||||
/// filename: Some("https://releases.ubuntu.com/jammy/ubuntu-22.04.1-desktop-amd64.iso.torrent".to_string()),
|
||||
/// ..TorrentAddArgs::default()
|
||||
/// };
|
||||
/// let res: RpcResponse<TorrentAddedOrDuplicate> = client.torrent_add(add).await?;
|
||||
@ -641,7 +641,7 @@ mod tests {
|
||||
info!("Client is ready!");
|
||||
let add: TorrentAddArgs = TorrentAddArgs {
|
||||
filename: Some(
|
||||
"https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso.torrentt"
|
||||
"https://releases.ubuntu.com/jammy/ubuntu-22.04.1-desktop-amd64.iso.torrentt"
|
||||
.to_string(),
|
||||
),
|
||||
..TorrentAddArgs::default()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user