Skip to content

Commit 0bc3084

Browse files
Add proto verification step to test action
Remove individual protos check action
1 parent f2902f1 commit 0bc3084

File tree

2 files changed

+6
-33
lines changed

2 files changed

+6
-33
lines changed

.github/workflows/ci-pydgraph-check-protos.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/ci-pydgraph-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name: ci-pydgraph-tests
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
types:
99
- opened
1010
- reopened
1111
- synchronize
1212
- ready_for_review
1313
branches:
14-
- master
14+
- main
1515
schedule:
1616
- cron: 1 0 * * * # run workflow daily
1717

@@ -54,5 +54,9 @@ jobs:
5454
cd pydgraph
5555
python -m pip install --upgrade pip
5656
python -m pip install .[dev]
57+
- name: Verify that updated protobufs are checked in
58+
run: |
59+
python scripts/protogen.py
60+
git diff --exit-code -- .
5761
- name: Run tests
5862
run: cd pydgraph && DGRAPH_IMAGE_TAG=local bash scripts/local-test.sh

0 commit comments

Comments
 (0)