Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
34 lines
722 B
YAML
34 lines
722 B
YAML
name: 🧪 Test
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: 🧪 Lock + lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: ⬇️ Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: 🐍 Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: 🟢 Set up Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: lts/*
|
|
|
|
- name: 📦 Install lint tools
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install --group lint
|
|
sudo apt-get update && sudo apt-get install -y shellcheck
|
|
npm install -g markdownlint-cli2
|
|
|
|
- name: 🧪 Run tests
|
|
run: make test
|