CI/CD#
Run lsfr tests automatically in GitHub Actions.
GitHub Actions#
Add .github/workflows/lsfr.yaml to your repository:
name: lsfr Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: st3v3nmw/lsfr-action@mainThe action runs lsfr test on every push to main and on pull requests.
Custom Working Directory#
If your lsfr.yaml isn’t at the repository root:
- uses: st3v3nmw/lsfr-action@main
with:
working-directory: './my-challenge'