Skip to content

tests

tests #658

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
schedule:
- cron: '30 19 * * *'
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
plugin-manager:
- fisher
- oh-my-fish
- plug.fish
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install fish shell
uses: fish-actions/install-fish@v1
- 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}