diff options
Diffstat (limited to '.config/shells/zsh/plugins/fzf-tab/.github/workflows')
| -rw-r--r-- | .config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml b/.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml new file mode 100644 index 0000000..893f8a4 --- /dev/null +++ b/.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml @@ -0,0 +1,36 @@ +name: ci + +on: + pull_request: + push: + branches: + - master + +jobs: + test: + name: run test + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - name: checkout + uses: actions/checkout@v1 + with: + fetch-depth: 1 + + - name: install zsh (ubuntu) + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get install zsh + + - name: test completion (ubuntu) + if: matrix.os == 'ubuntu-latest' + run: cd test && zsh -f runtests.zsh fzftab.ztst + + - name: build binary module + run: zsh -fc 'source ./fzf-tab.zsh && build-fzf-tab-module' + + - name: test binary module (ubuntu) + if: matrix.os == 'ubuntu-latest' + run: cd test && zsh -f runtests.zsh fzftab.ztst + |
