Skip to content

tests

tests #1345

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Install fish shell
uses: fish-shop/install-fish-shell@e41d7c39f1a43ed23c5e0c77e3f4737538e7c7db # v1.0.25
- 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}