summaryrefslogtreecommitdiff
path: root/.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2022-07-14 19:09:06 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2022-07-14 19:09:06 -0400
commited4daf7429bf2580118aad87b8f3e2011efed7ec (patch)
tree82f9d8ed68de119e5777f5ecfae9df4a92fe92b3 /.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml
Initial commit
Diffstat (limited to '.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml')
-rw-r--r--.config/shells/zsh/plugins/fzf-tab/.github/workflows/ci.yaml36
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
+