Skip to content

docs/screenshot automation #549

docs/screenshot automation

docs/screenshot automation #549

Workflow file for this run

# 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: 9.9.9, alpine: 'edge' },
]
steps:
- run: docker --version
- uses: actions/checkout@v4
- name: Build Pure Image on Alpine ${{ matrix.version.alpine }}
run: make build-pure-on FISH_VERSION=${{ matrix.version.fish }}
- name: Run Tests
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