Skip to content

docs: add Tests workflow badge to README #4

docs: add Tests workflow badge to README

docs: add Tests workflow badge to README #4

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
workflow_dispatch:
jobs:
run_tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Fish
run: |
sudo apt-add-repository -yn ppa:fish-shell/release-3
sudo apt-get update
sudo apt-get install -y fish
- name: Install Fisher
run: |
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
shell: fish {0}
- name: Install Tools
run: fisher install jorgebucaran/fishtape
shell: fish {0}
- name: Run tests
run: fishtape tests/*.fish
shell: fish {0}