Skip to content

refact: rename opt annotate.message to title #44

refact: rename opt annotate.message to title

refact: rename opt annotate.message to title #44

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: stylua
uses: JohnnyMorganz/stylua-action@v4
with:
version: 2.3.0
token: ${{ secrets.GITHUB_TOKEN }}
args: --check .
- name: luacheck
uses: lunarmodules/luacheck@v1
integration:
name: integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Verify podman is available
run: |
if ! command -v podman >/dev/null 2>&1; then
sudo apt-get update && sudo apt-get install -y podman
fi
podman --version
- name: Cache built image
id: image-cache
uses: actions/cache@v4
with:
path: /tmp/podman-image.tar
key: podman-image-${{ hashFiles('Containerfile') }}
- name: Load cached image
if: steps.image-cache.outputs.cache-hit == 'true'
run: podman load -i /tmp/podman-image.tar
- name: Build image (cache miss)
if: steps.image-cache.outputs.cache-hit != 'true'
run: |
podman build -t localhost/fix-nvim-test:latest -f Containerfile .
podman save -o /tmp/podman-image.tar localhost/fix-nvim-test:latest
- name: Run full suite via wrapper
run: ./bin/test-integration
- name: Run each spec in isolation (--filter smoke)
run: |
set -e
shopt -s nullglob
specs=(tests/integration/test_*.lua)
if (( ${#specs[@]} == 0 )); then
echo "ERROR: no tests/integration/test_*.lua files found" >&2
exit 1
fi
for path in "${specs[@]}"; do
name="${path#tests/integration/test_}"
name="${name%.lua}"
echo "::group::filter ${name}"
./bin/test-integration --filter "${name}"
echo "::endgroup::"
done