chore: symlink source to install on target with-pure-installed
#465
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests on CI | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.fish" | |
- ".github/**/*.yml" | |
- "!conf.d/pure.fish" | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths: | |
- "**.fish" | |
- ".github/**/*.yml" | |
jobs: | |
test-container: | |
name: Test on fish ${{ matrix.version.fish }} on Docker | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
[ | |
{ fish: 3.0.2, alpine: 3.11 }, | |
{ fish: 3.1.2, alpine: 3.13 }, | |
{ fish: 3.2.2, alpine: 3.14 }, | |
{ fish: 3.3.1, alpine: 3.15 }, | |
{ fish: 3.4.1, alpine: 3.16 }, | |
{ fish: 3.5.1, alpine: 3.17 }, | |
{ fish: 3.6.1, alpine: 3.18 }, | |
# { fish: 3.6.2, alpine: 'edge' }, | |
] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: make build-pure-on FISH_VERSION=${{ matrix.version.fish }} | |
- run: docker --version | |
- run: make test-pure-on FISH_VERSION=${{ matrix.version.fish }} | |
# test-macos: | |
# name: Test on fish on MacOS | |
# runs-on: macos-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Install Fish | |
# run: brew install fish | |
# - name: Install Fisher > Fishtape > Pure | |
# run: curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher jorgebucaran/fishtape ./ | |
# shell: fish {0} | |
# - name: Test Pure | |
# run: fishtape tests/*.test.fish | |
# shell: fish {0} | |
bump-version: # Bump when on master | |
needs: [test-container] | |
if: contains(github.ref, 'master') | |
uses: ./.github/workflows/bump-version.yml | |
secrets: inherit |