Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests #1

Merged
merged 11 commits into from
Jan 6, 2024
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI
on:
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# tests:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [macos-latest, ubuntu-latest]
# steps:
# - uses: actions/checkout@v4
# - uses: fish-actions/[email protected]
# - uses: fish-actions/fisher@v1
# with:
# plugins: jorgebucaran/fishtape ilancosman/clownfish $GITHUB_WORKSPACE
# - name: Set up Homebrew
# uses: Homebrew/actions/setup-homebrew@master
# if: matrix.os == 'ubuntu-latest'
# - name: Install fzf and fd
# run: brew install fzf fd
# - name: Run full test suite
# run: fishtape tests/*.fish
# shell: fish {0}
# timeout-minutes: 3
syntax-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fish-actions/install-fish@v1
- uses: fish-actions/syntax-check@v1
# check Fish format
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fish-actions/install-fish@v1
- uses: fish-actions/format-check@v1