Skip to content

CI/CD

Run clstr tests automatically in GitHub Actions.

Add .github/workflows/clstr.yaml to your repository:

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: clstr-io/test@main

The action runs clstr test on every push to main and on pull requests.

If your clstr.yaml isn’t at the repository root:

- uses: clstr-io/test@main
with:
working-directory: './my-challenge'