Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
with:
dependency-versions: ${{ matrix.dependency-versions }}

- name: Ensure sync
run: |
wget https://docs.github.com/public/fpt/schema.docs.graphql -O examples/schema.docs.graphql
bin/graphql-client-code-generator --config=examples/config.php --config=tests/config.php --ensure-sync

- name: Run tests
run: vendor/bin/phpunit

Expand Down
2 changes: 1 addition & 1 deletion bin/graphql-client-code-generator
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ if ($input->getFirstArgument() === null) {

$application = new Application('graphql-client-code-generator', '1.0.0');

$application->addCommand(new Command()->setCode(new GenerateCommand(new Filesystem())));
$application->addCommand(new Command('generate')->setCode(new GenerateCommand(new Filesystem())));
$application->run($input);