Fix(ci): Move problem tests purely to cargo make test (#250)
A few tests are routinely failing on CI because they explicitly hit YouTube URLs, even if the content in question is CC-licensed. This PR simply adds the `#[ignore]` attribute, and adds the `--include-ignored` flag to `cargo make test` so that correct WebM parsing behaviour can be locally verified. We could go a bit further and conditionally ignore the tests based on CI-specific ENV vars, but that's probably overkill given the scope of the issue.
This commit is contained in:
@@ -247,6 +247,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
#[ntest::timeout(20_000)]
|
||||
async fn ytdl_page_with_playlist_plays() {
|
||||
track_plays_passthrough(|| YoutubeDl::new(Client::new(), YTDL_PLAYLIST_TARGET.into()))
|
||||
@@ -274,6 +275,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
#[ntest::timeout(20_000)]
|
||||
async fn ytdl_search_plays() {
|
||||
let mut ytdl = YoutubeDl::new_search(Client::new(), "cloudkicker 94 days".into());
|
||||
@@ -286,6 +288,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore]
|
||||
#[ntest::timeout(20_000)]
|
||||
async fn ytdl_search_3() {
|
||||
let mut ytdl = YoutubeDl::new_search(Client::new(), "test".into());
|
||||
|
||||
Reference in New Issue
Block a user