Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS 6730 - add ofga model tests #1243

Merged
merged 10 commits into from
Jun 21, 2024
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ jobs:
- name: Start test environment
run: docker compose up -d --wait

- name: Run OpenFGA authorisation model tests
uses: openfga/[email protected]
with:
store-file-path: ./openfga/tests.fga.yaml

- name: Build and Test
run: go test -mod readonly ./... -timeout 1h -cover
env:
Expand Down
2 changes: 1 addition & 1 deletion openfga/authorisation_model.fga
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ type user

type serviceaccount
relations
define administator: [user, user:*, group#member]
define administrator: [user, user:*, group#member]
Loading
Loading