Add a check to use the new error message returned and also handle nil… #129
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: CI | |
on: push | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
tests: | |
name: Test plugin | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: /tmp/distant_nvim_images.tar | |
key: ${{ runner.os }}-docker-${{ hashFiles('Dockerfile') }} | |
restore-keys: | | |
${{ runner.os }}-docker- | |
${{ runner.os }}- | |
- name: Load Docker cache | |
run: make docker-load | |
continue-on-error: true | |
- name: Build test container | |
run: make docker-build | |
- name: Save Docker cache | |
run: make docker-save | |
- name: Run unit tests | |
run: make docker-test-unit | |
- name: Run e2e tests | |
run: make docker-test-e2e |