Files
wrkflw/tests/workflows/matrix-example.yml
bahdotsh 181b5c5463 feat: reorganize test files and delete manual test checklist
- Move test workflows to tests/workflows/
- Move GitLab CI fixtures to tests/fixtures/gitlab-ci/
- Move test scripts to tests/scripts/
- Move Podman testing docs to tests/
- Update paths in test scripts and documentation
- Delete MANUAL_TEST_CHECKLIST.md as requested
- Update tests/README.md to reflect new organization
2025-08-09 15:30:53 +05:30

44 lines
1.0 KiB
YAML

name: Matrix Example
triggers:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
GLOBAL_VAR: "This applies to all jobs"
jobs:
test:
name: "Test"
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14, 16, 18]
include:
- os: ubuntu-latest
node-version: 20
experimental: true
exclude:
- os: windows-latest
node-version: 14
fail-fast: false
max-parallel: 2
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Show configuration
run: |
echo "Running on: ${{ matrix.os }}"
echo "Node version: ${{ matrix.node-version }}"
if [ "${{ matrix.experimental }}" = "true" ]; then
echo "This is an experimental configuration"
fi