Track more fixes to test expectations #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [main] | |
paths: | |
- .github/workflows/**/*.yaml | |
- autoload/**/*.vim | |
- plugin/**/*.vim | |
- scripts/**/*.py | |
- scripts/**/*.sh | |
- tests/**/*.vader | |
pull_request: | |
branches: [main] | |
paths: | |
- .github/workflows/**/*.yaml | |
- autoload/**/*.vim | |
- plugin/**/*.vim | |
- scripts/**/*.py | |
- scripts/**/*.sh | |
- tests/**/*.vader | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies for tests | |
run: sudo apt-get install imagemagick | |
- name: Install Vim | |
run: sudo apt-get install vim | |
- name: Install Vader | |
run: | | |
mkdir -vp ~/.vim/plugged | |
pushd ~/.vim/plugged | |
git clone https://github.com/junegunn/vader.vim.git | |
popd | |
- name: Test units | |
run: | | |
scripts/vader-run-tests.sh --test units --cicd > /dev/null | |
- name: Test mocks | |
run: | | |
scripts/vader-run-tests.sh --test mocks --cicd > /dev/null | |
## | |
# Attribution: | |
# | |
# - https://github.com/junegunn/vader.vim/?tab=readme-ov-file#github-actions |