-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (40 loc) · 1.12 KB
/
default.yml
File metadata and controls
41 lines (40 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on: [pull_request]
name: default
env:
IMAGE_NAME: nvim-devcontainer-cli
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
neovim-version:
[
"v0.9.0",
"v0.9.1",
"v0.9.2",
"v0.9.4",
"v0.9.5",
"v0.10.0",
"v0.10.1",
"v0.10.2",
"v0.10.3",
"stable",
]
fail-fast: false
name: NEOVIM ${{ matrix.neovim-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pre-build devcontainer image for NEOVIM ${{ matrix.neovim-version }}
uses: devcontainers/ci@v0.3
with:
imageName: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
cacheFrom: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
push: never
build-args: NEOVIM_VERSION=${{ matrix.neovim-version }}
- name: Run tests inside the docker image
uses: devcontainers/ci@v0.3
with:
cacheFrom: ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
push: never
runCmd: make test