Skip to content

Commit

Permalink
Re-enable GitHub Action tests
Browse files Browse the repository at this point in the history
  • Loading branch information
S0AndS0 committed Oct 11, 2024
1 parent 898869f commit dc97b0b
Showing 1 changed file with 23 additions and 33 deletions.
56 changes: 23 additions & 33 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,47 +27,37 @@ 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

- uses: rhysd/action-setup-vim@v1.3.5
with:
version: v9.1.0774
configure-args: |
--with-features=huge --enable-fail-if-missing --disable-nls
- name: Test Vim `system()` function
run: vim -u NONE -i NONE -N --cmd 'echo system("printf foo | base64 --wrap=0")' -e +qall
# run: vim -u NONE -i NONE -N --cmd 'echo system("base64 --wrap=0 < <(printf foo)")' -e +qall

# - 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

# - uses: rhysd/action-setup-vim@v1.3.5
# with:
# version: v9.1.0774
# configure-args: |
# --with-features=huge --enable-fail-if-missing --disable-nls

# - name: Install Vader
# run: |
# mkdir -vp ~/.vim/plugged
# pushd ~/.vim/plugged
# git clone https://github.com/junegunn/vader.vim.git
# popd
- 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 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
- name: Test mocks
run: |
scripts/vader-run-tests.sh --test mocks --cicd > /dev/null
##
Expand Down

0 comments on commit dc97b0b

Please sign in to comment.