test(macos): cleanup mocked method and some refactor #545
Workflow file for this run
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
# yamllint disable rule:braces | |
# yamllint disable rule:indentation | |
--- | |
name: Run tests on CI | |
# yamllint disable-line rule:truthy | |
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.3.1, alpine: 3.15 }, # for Ubuntu 22.04 LTS | |
# # { fish: 3.6.3, alpine: 3.19 }, | |
# # { fish: 3.7.0, alpine: 'edge' }, | |
# # { 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-nixos: | |
# uses: ./.github/workflows/nixos.yml | |
# secrets: inherit | |
test-macos: | |
if: true | |
uses: ./.github/workflows/macos.yml | |
secrets: inherit | |
# bump-version: # Bump when on master | |
# needs: [test-container] | |
# if: contains(github.ref, 'master') | |
# uses: ./.github/workflows/bump-version.yml | |
# secrets: inherit |