Skip to content

chore(ci): add a test workflow #1

chore(ci): add a test workflow

chore(ci): add a test workflow #1

Workflow file for this run

name: Build, Test and Publish
on:
merge_group:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: openfga/cli
strategy:
matrix:
store-name: [github, gdrive, expenses, iot, slack, expenses, custom-roles]
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0
- name: Run the tests with the FGA CLI
uses: docker://docker.io/openfga/cli
with:
args: model test --tests stores/${{matrix.store-name}}/store.yaml