mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-13 07:55:17 +08:00

Some checks failed
Build / build-linux (3.0.0) (push) Has been cancelled
Build / build-linux (3.0.2) (push) Has been cancelled
Build / build-linux (3.1.2) (push) Has been cancelled
Build / build-linux (3.2.2) (push) Has been cancelled
Build / build-linux (3.3.1) (push) Has been cancelled
Build / build-linux (3.4.1) (push) Has been cancelled
Build / build-linux (3.5.1) (push) Has been cancelled
Build / build-linux (3.6.4) (push) Has been cancelled
Build / build-linux (3.7.1) (push) Has been cancelled
Build / build-linux (4.0.0) (push) Has been cancelled
Build / build-macos (macos-13) (push) Has been cancelled
Build / build-macos (macos-14) (push) Has been cancelled
Build / build-macos (macos-latest) (push) Has been cancelled
* rewrite workflow to use Docker images for testing on linux * avoid string collect as it's unsupported in 3.0.0 * use while read instead of mktemp to capture outputs --------- Co-authored-by: Kevin F. Konrad <kevin.konrad@skillbyte.de>
20 lines
525 B
YAML
20 lines
525 B
YAML
name: "Run tests"
|
|
description: "Install fish and Oh My Fish! if necessary and run CI tests"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Fish
|
|
shell: bash
|
|
if: runner.os == 'macOS'
|
|
run: brew update && brew install fish
|
|
|
|
- name: Install Oh My Fish!
|
|
shell: bash
|
|
run: fish bin/install --verbose --offline --noninteractive --yes
|
|
|
|
- name: Run tests on latest fish
|
|
shell: bash
|
|
run: |
|
|
tests/run.fish
|
|
fish -c 'fish-spec pkg/{fish-spec,omf}/spec/*_spec.fish'
|