Skip to content

Sanitize null bytes in eval'ed text #154

Sanitize null bytes in eval'ed text

Sanitize null bytes in eval'ed text #154

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { vim_version: "8.1", python_image: "3.8-bookworm", tag: "vim_81_py38" }
- { vim_version: "8.2", python_image: "3.8-bookworm", tag: "vim_82_py38" }
- { vim_version: "git", python_image: "3.8-bookworm", tag: "vim_git_py38" }
- { vim_version: "8.1", python_image: "3.9-bookworm", tag: "vim_81_py39" }
- { vim_version: "8.2", python_image: "3.9-bookworm", tag: "vim_82_py39" }
- { vim_version: "9.0", python_image: "3.9-bookworm", tag: "vim_90_py39" }
- { vim_version: "git", python_image: "3.9-bookworm", tag: "vim_git_py39" }
# Vim 8.1 and 8.2 do not build with python 3.10.
- { vim_version: "9.0", python_image: "3.10-bookworm", tag: "vim_90_py310" }
- { vim_version: "git", python_image: "3.10-bookworm", tag: "vim_git_py310" }
# Vim 8.1 and 8.2 hang forever with python 3.11.
- { vim_version: "9.0", python_image: "3.11-bookworm", tag: "vim_90_py311" }
- { vim_version: "git", python_image: "3.11-bookworm", tag: "vim_git_py311" }
name: Build & Test using Docker
steps:
- uses: actions/checkout@v2
- name: Build the image
run: docker build -t ultisnips:${{ matrix.tag }} --build-arg PYTHON_IMAGE=${{ matrix.python_image }} --build-arg VIM_VERSION=${{ matrix.vim_version }} .
- name: Run the tests
run: docker run --rm -t ultisnips:${{ matrix.tag }} docker/run_tests.sh