We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c10768 commit 9ae4d3aCopy full SHA for 9ae4d3a
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,29 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ os: [ubuntu-latest, macos-latest]
13
+ runs-on: ${{ matrix.os }}
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Install fish (Linux)
18
+ if: runner.os == 'Linux'
19
+ run: sudo apt-get update && sudo apt-get install -y fish
20
21
+ - name: Install fish (macOS)
22
+ if: runner.os == 'macOS'
23
+ run: brew install fish
24
25
+ - name: Install fish-spec
26
+ run: git clone --depth 1 https://github.com/oh-my-fish/oh-my-fish.git "$HOME/omf"
27
28
+ - name: Run tests
29
+ run: fish -c 'source $HOME/omf/pkg/fish-spec/functions/fish-spec.fish; fish-spec'
0 commit comments