diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-22 16:59:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-22 17:32:58 +0900 |
| commit | 7286ee29637dbc694f769b618259eb9f75bab0fa (patch) | |
| tree | 8ab8644344614bc8feda6b2f0152030c4a9cba98 /crates/shirabe | |
| parent | 94507ec2f265ca9400d64d42036ca1e8722e27da (diff) | |
| download | php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.tar.gz php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.tar.zst php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.zip | |
ci: setup GitHub Actions
Diffstat (limited to 'crates/shirabe')
4 files changed, 3 insertions, 3 deletions
diff --git a/crates/shirabe/tests/installer_test.rs b/crates/shirabe/tests/installer_test.rs index 6907758c..922fbd45 100644 --- a/crates/shirabe/tests/installer_test.rs +++ b/crates/shirabe/tests/installer_test.rs @@ -376,6 +376,7 @@ fn make_packages_comparable( #[test] #[serial] fn test_installer() { + bootstrap::bootstrap(); let _tear_down = TearDown::new(); for case in provide_installer() { @@ -842,6 +843,8 @@ fn write_json(path: &std::path::Path, value: &serde_json::Value) { /// ref: InstallerTest::doTestIntegration fn do_test_integration(case: &IntegrationCase, expect_output: Option<&str>) { + bootstrap::bootstrap(); + if let Some(condition) = &case.condition && !evaluate_condition(condition) { diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch b/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch index a00d9a07..ca7fa167 100755 --- a/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch +++ b/crates/shirabe/tests/plugin/fixtures/e2e-installers/fetch @@ -18,7 +18,6 @@ ext="$(dirname "$0")/ext" dir="$ext/composer-installers-2.3.0" if [ -f "$dir/src/Composer/Installers/Installer.php" ]; then - echo "already fetched: $dir" exit 0 fi diff --git a/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch b/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch index 7fb7cd5a..9a7ea827 100755 --- a/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch +++ b/crates/shirabe/tests/plugin/fixtures/e2e-normalize/fetch @@ -16,7 +16,6 @@ tree_hash() { while read -r dir repo commit hash; do target="$base/$dir" if [ -d "$target" ]; then - echo "already fetched: $target" continue fi mkdir -p "$target" diff --git a/crates/shirabe/tests/plugin/fixtures/e2e/fetch b/crates/shirabe/tests/plugin/fixtures/e2e/fetch index a4179955..a7adcb75 100755 --- a/crates/shirabe/tests/plugin/fixtures/e2e/fetch +++ b/crates/shirabe/tests/plugin/fixtures/e2e/fetch @@ -11,7 +11,6 @@ commit=85e90b3942d06b2326fba0403ec24fe912372936 dir="$(dirname "$0")/ext/phpstan-extension-installer-1.4.3" if [ -f "$dir/src/Plugin.php" ]; then - echo "already fetched: $dir" exit 0 fi |
