mattrguerra/meridian-skillsmainPrivate on GitHub, published here in full

checks.yml

Language YAML743 B26 lines

.github/workflows/checks.yml

  1. name: checks
  2. on: [push, pull_request]
  3. jobs:
  4. checks:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. python: ["3.10", "3.12"]
  9. env:
  10. LC_ALL: C.UTF-8
  11. steps:
  12. - uses: actions/checkout@v4
  13. - uses: actions/setup-python@v5
  14. with:
  15. python-version: ${{ matrix.python }}
  16. - run: pip install pytest
  17. - name: Pack all skills
  18. run: python scripts/pack_skill.py
  19. - name: Fixture diff and --mock runs
  20. run: python -m pytest tests -v
  21. - name: No em dashes
  22. # grep exits 1 when nothing matches; 0 (a hit) or 2 (an error) fail the step.
  23. run: |
  24. set +e
  25. grep -rnP '\x{2014}' --exclude-dir=.git --exclude-dir=dist .
  26. test $? -eq 1