File tree Expand file tree Collapse file tree 2 files changed +25
-13
lines changed
Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : " Test"
3+ on : # yamllint disable-line rule:truthy
4+ push :
5+ paths : ["integration-testing/**"]
6+ pull_request :
7+ paths : ["integration-testing/**"]
8+ permissions :
9+ contents : " read"
10+ jobs :
11+ integration-testing :
12+ name : " Run Integration Test Example"
13+ runs-on : " ubuntu-latest"
14+ steps :
15+ - uses : " actions/checkout@v6"
16+ - uses : " actions/setup-go@v6"
17+ - uses : " authzed/actions/go-test@main"
18+ with :
19+ working_directory : " integration-testing"
Original file line number Diff line number Diff line change 22name : " Test"
33on : # yamllint disable-line rule:truthy
44 push :
5- paths : ["integration-testing/**"]
5+ branches :
6+ - " main"
67 pull_request :
7- paths : ["integration-testing/* *"]
8+ branches : ["*"]
89permissions :
910 contents : " read"
1011jobs :
11- integration-testing :
12- name : " Run Integration Test Example"
13- runs-on : " ubuntu-latest"
14- steps :
15- - uses : " actions/checkout@v6"
16- - uses : " actions/setup-go@v6"
17- - uses : " authzed/actions/go-test@main"
18- with :
19- working_directory : " integration-testing"
2012 validate-example-schemas :
2113 name : " Validate Example Schemas"
2214 runs-on : " ubuntu-latest"
2315 steps :
2416 - uses : " actions/checkout@v6"
2517 - name : " Install zed and run validate"
2618 run : |
27- curl -L https://github.com/authzed/zed/releases/latest/download/zed-linux-amd64 -o zed
28- chmod +x zed
19+ # TODO can we download the latest?
20+ curl -L https://github.com/authzed/zed/releases/download/v0.33.1/zed_0.33.1_linux_amd64.deb -o zed.deb
21+ sudo dpkg -i zed.deb
2922 for schema_file in $(find schemas -name "schema-and-data.yaml" -type f); do
3023 schema_dir=$(dirname "$schema_file")
3124 echo "Validating $schema_file..."
You can’t perform that action at this time.
0 commit comments