diff --git a/.drevops/installer/src/Command/InstallCommand.php b/.drevops/installer/src/Command/InstallCommand.php index 91f9d254c..5918aa1ba 100644 --- a/.drevops/installer/src/Command/InstallCommand.php +++ b/.drevops/installer/src/Command/InstallCommand.php @@ -567,7 +567,7 @@ protected function processDrevopsInternal(string $dir) { static::rmdirRecursive($dir . '/.drevops/tests'); static::rmdirRecursive($dir . '/scripts/drevops/utils'); @unlink($dir . '/.github/FUNDING.yml'); - foreach (glob($dir . '/.github/drevops-*.yml') as $file) { + foreach (glob($dir . '/.github/workflows/drevops-*.yml') as $file) { @unlink($file); } diff --git a/.drevops/tests/bats/_helper.bash b/.drevops/tests/bats/_helper.bash index cae306f18..4ca8a6a50 100644 --- a/.drevops/tests/bats/_helper.bash +++ b/.drevops/tests/bats/_helper.bash @@ -414,7 +414,12 @@ assert_files_present_drevops() { assert_dir_not_exists ".drevops" assert_file_not_exists "LICENSE" assert_file_not_exists ".github/FUNDING.yml" + assert_file_not_exists ".github/drevops-publish-docs.yml" + assert_file_not_exists ".github/drevops-publish-installer.yml" + assert_file_not_exists ".github/drevops-test-docs.yml" + assert_file_not_exists ".github/drevops-test-installer.yml" + assert_file_not_contains ".circleci/config.yml" "drevops-dev-test" assert_file_not_contains ".circleci/config.yml" "drevops-dev-test-workflow" assert_file_not_contains ".circleci/config.yml" "drevops-dev-test-deployment"