From ea008412fcc48060e1312b0021a527de8f23d41b Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 10 Dec 2022 12:26:50 +0100 Subject: [PATCH] chore: add more third party projects (#190) --- .github/workflows/third-party-tests.yml | 4 +++ tests/third_party_tests.rs | 48 +++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 2 deletions(-) diff --git a/.github/workflows/third-party-tests.yml b/.github/workflows/third-party-tests.yml index 572e4fc..b9a9c22 100644 --- a/.github/workflows/third-party-tests.yml +++ b/.github/workflows/third-party-tests.yml @@ -26,6 +26,10 @@ jobs: - 'chubbyphp_framework' - 'silverstripe_framework_core' - 'silverstripe_framework_cms' + - 'roundcubemail_web' + - 'phpmyadmin_web' + - 'phpbb_web' + - 'drupal_core' steps: - name: checkout diff --git a/tests/third_party_tests.rs b/tests/third_party_tests.rs index 27d4fc9..fd9f858 100644 --- a/tests/third_party_tests.rs +++ b/tests/third_party_tests.rs @@ -168,6 +168,50 @@ fn third_party_12_silverstripe_framework_cms() { ); } +#[test] +fn third_party_13_roundcubemail_web() { + test_repository( + "roundcubemail", + "https://github.com/roundcube/roundcubemail", + "master", + &["config", "installer", "plugins", "program", "tests"], + &[], + ); +} + +#[test] +fn third_party_14_phpmyadmin_web() { + test_repository( + "phpmyadmin", + "https://github.com/phpmyadmin/phpmyadmin", + "master", + &["libraries", "test", "examples"], + &[], + ); +} + +#[test] +fn third_party_15_phpbb_web() { + test_repository( + "phpbb", + "https://github.com/phpbb/phpbb", + "master", + &["phpBB", "tests", "build"], + &[], + ); +} + +#[test] +fn third_party_16_drupal_core() { + test_repository( + "drupal", + "https://github.com/drupal/core", + "9.4.x", + &["lib", "tests"], + &[], + ); +} + fn test_repository( name: &str, repository: &str, @@ -232,13 +276,13 @@ fn test_repository( } Err(error) => { results.push(TestResult::Error(format!( - "❌ [{thread_name}][{name}]: {error:?}" + "❌ [{thread_name}][{name}]: {error} ({error:?})" ))); } }, Err(error) => { results.push(TestResult::Error(format!( - "❌ [{thread_name}][{name}]: {error:?}" + "❌ [{thread_name}][{name}]: {error} ({error:?})" ))); } }