Skip to content

tests

tests #1284

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
schedule:
- cron: '30 19 * * *'
workflow_dispatch:
permissions: read-all
jobs:
tests:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
plugin-manager:
- fisher
- oh-my-fish
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install fish shell
uses: fish-shop/install-fish-shell@7efaf348a2248a6ea62fe53bf9f9fbd501d71925 # v1.0.18
- if: matrix.plugin-manager != 'oh-my-fish'
name: Install plugin using <username>/<repo> name
uses: ./
with:
plugin-manager: ${{ matrix.plugin-manager }}
plugins: marcransome/pond
- if: matrix.plugin-manager == 'oh-my-fish'
name: Install plugin using GitHub URL
uses: ./
with:
plugin-manager: ${{ matrix.plugin-manager }}
plugins: https://github.com/marcransome/pond
- name: Check plugin installed
run: type -q pond
shell: fish {0}