|
75 | 75 | working-directory: e2e-app |
76 | 76 | run: | |
77 | 77 | php bin/console make:admin:dashboard --no-interaction |
78 | | - php bin/console make:admin:crud Product --no-interaction |
| 78 | + |
| 79 | + # Run make:admin:crud interactively with expect |
| 80 | + mkdir -p src/Controller/Admin/ |
| 81 | + expect <<'EOD' |
| 82 | + spawn php bin/console make:admin:crud |
| 83 | + expect "Which Doctrine entity" { send "0\r" } |
| 84 | + expect "Which directory" { send "\r" } |
| 85 | + expect "Namespace of the generated CRUD controller" { send "\r" } |
| 86 | + expect eof |
| 87 | + EOD |
79 | 88 | |
80 | 89 | # Add MenuItem::linkToCrud() entry if missing |
81 | 90 | file="src/Controller/Admin/DashboardController.php" |
@@ -136,9 +145,9 @@ jobs: |
136 | 145 | } |
137 | 146 | const runUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`; |
138 | 147 | body += `\nRun: ${runUrl}`; |
139 | | - await github.rest.issues.create({ |
140 | | - owner: context.repo.owner, |
141 | | - repo: context.repo.repo, |
142 | | - title: `Integration test failed: ${new Date().toISOString()}`, |
143 | | - body |
144 | | - }); |
| 148 | + #await github.rest.issues.create({ |
| 149 | + # owner: context.repo.owner, |
| 150 | + # repo: context.repo.repo, |
| 151 | + # title: `Integration test failed: ${new Date().toISOString().slice(0,10)}`, |
| 152 | + # body |
| 153 | + #}); |
0 commit comments