1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-12-16 00:33:06 +03:00
git-cliff/.github/workflows/test-fixtures.yml

38 lines
938 B
YAML

name: Test fixtures
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-fixtures:
name: Test fixtures
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- fixtures-name: test-ignore-tags
- fixtures-name: test-topo-order
command: --latest
- fixtures-name: test-date-order
command: --latest
- fixtures-name: test-date-order-arg
command: --latest --date-order
- fixtures-name: test-latest-with-one-tag
command: --latest
- fixtures-name: test-commit-preprocessors
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run a fixtures test
uses: ./.github/actions/run-fixtures-test
with:
fixtures-dir: .github/fixtures/${{ matrix.fixtures-name }}
command: ${{ matrix.command }}