Skip to content

Commit 936f8b3

Browse files
committed
Ensure examples are sync in CI
1 parent 259320d commit 936f8b3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
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

0 commit comments

Comments
 (0)