File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 dependency-versions : ${{ matrix.dependency-versions }}
4343
44+ - name : Ensure sync
45+ run : |
46+ wget https://docs.github.com/public/fpt/schema.docs.graphql -O examples/schema.docs.graphql
47+ bin/graphql-client-code-generator --config=examples/config.php --config=tests/config.php --ensure-sync
48+
4449 - name : Run tests
4550 run : vendor/bin/phpunit
4651
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ if ($input->getFirstArgument() === null) {
4141
4242$ application = new Application ('graphql-client-code-generator ' , '1.0.0 ' );
4343
44- $ application ->addCommand (new Command ()->setCode (new GenerateCommand (new Filesystem ())));
44+ $ application ->addCommand (new Command (' generate ' )->setCode (new GenerateCommand (new Filesystem ())));
4545$ application ->run ($ input );
You can’t perform that action at this time.
0 commit comments