37 lines
755 B
YAML
37 lines
755 B
YAML
---
|
|
name: Functional Tests
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/functional-tests.yml
|
|
- src/**
|
|
- action.yml
|
|
|
|
defaults:
|
|
run:
|
|
shell: sh
|
|
|
|
jobs:
|
|
setup-mark:
|
|
name: Setup mark
|
|
timeout-minutes: 10
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: ["ubuntu", "macos"]
|
|
version: ["latest", "11.2.0", "11.1.0", "11.0.1", "11.0.0", "10.0.1"]
|
|
runs-on: ${{ matrix.os }}-latest
|
|
steps:
|
|
- name: Checkout ${{ github.repository }}
|
|
uses: actions/checkout@v4
|
|
- name: Setup mark
|
|
uses: ./
|
|
with:
|
|
version: "${{ matrix.version }}"
|
|
- name: Print version
|
|
run: mark --version
|