Skip to content

feat(ci): use custom image for tests #35

feat(ci): use custom image for tests

feat(ci): use custom image for tests #35

Workflow file for this run

---
name: Test
on:
pull_request:
branches:
- main
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
container-image: ghcr.io/mistweaverco/kulala-nvim-testrunner:latest
container:
image: ${{ matrix.container-image }}
steps:
- uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: |
~/.local/share/nvim/site/pack/vendor/start
key: ${{ runner.os }}-${{ matrix.container-image }}
- name: Prepare dependencies
run: ./scripts/tests.sh prepare
- name: Run tests
run: ./scripts/tests.sh run