Skip to content

OS Compatibility

OS Compatibility #603

name: OS Compatibility
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
os:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2025]
#There is no 10.0.0 at the time of writing, but since greater than characters are not allowed in GitHub Actions artifacts names, 9.0.1 - 10.0.0 will be used instead of >9.0.0
version-requirement: ['5.7.19 - 5.7.24', '5.7.25 - 5.7.29', '5.7.30 - 5.7.34', '5.7.35 - 5.7.39', '5.7.40 - 5.7.44', '8.0.0 - 8.0.4', '8.0.4 - 8.0.13', '8.0.14 - 8.0.19', '8.0.20 - 8.0.24', '8.0.25 - 8.0.29', '8.0.30 - 8.0.34', '8.0.35 - 8.0.39', '8.0.40 - 8.3.0', '8.4.0 - 9.0.0', '9.0.1 - 10.0.0']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true
- name: Install packages
run: npm ci
- name: Run tests
env:
VERSION_REQUIREMENT: ${{ matrix.version-requirement }}
run: npm run os-compat:ci
- name: Upload mysqlmsn directory (Windows)
if: ${{ failure() && runner.os == 'Windows' }}
uses: actions/[email protected]
with:
name: ${{ matrix.os }}-${{ matrix.version-requirement }}
path: "C:\\Users\\RUNNER~1\\mysqlmsn"
compression-level: 0