Skip to content

Commit 3a4b670

Browse files
committed
ci: add more configurations (python3.13, neovim-version='stable')
- Test with python=3.13 - Test with neovim-version='stable' for python=3.12 in addition to neovim-version='nightly'.
1 parent 92b3acf commit 3a4b670

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
config: [
31-
{ python-version: '3.12' },
31+
{ python-version: '3.13', neovim-version: 'nightly' },
32+
{ python-version: '3.12', neovim-version: 'nightly' },
33+
{ python-version: '3.12', neovim-version: 'stable' },
3234
{ python-version: '3.11' },
3335
{ python-version: '3.10' },
3436
# for python 3.7~3.9, use older version of OS (ubuntu-20.04 and macos-12)
@@ -38,10 +40,11 @@ jobs:
3840
]
3941
os: ['ubuntu', 'macos', 'windows']
4042

41-
runs-on: ${{ matrix.os }}-${{ matrix.config[matrix.os] || 'latest' }}
4243
name:
4344
test (python ${{ matrix.config.python-version }},
45+
${{ matrix.config.neovim-version || 'nightly' }},
4446
${{ matrix.os }}-${{ matrix.config[matrix.os] || 'latest' }})
47+
runs-on: ${{ matrix.os }}-${{ matrix.config[matrix.os] || 'latest' }}
4548
steps:
4649
- uses: actions/checkout@v3
4750
- uses: actions/setup-python@v4
@@ -62,7 +65,7 @@ jobs:
6265
echo "$RUNNER_OS not supported"; exit 1;
6366
fi
6467
65-
curl -LO "https://github.com/neovim/neovim/releases/download/nightly/${BASE}.tar.gz"
68+
curl -LO "https://github.com/neovim/neovim/releases/download/${{ matrix.config.neovim-version || 'nightly' }}/${BASE}.tar.gz"
6669
tar xzf "${BASE}.tar.gz"
6770
echo "RUNNER_OS = $RUNNER_OS"
6871
$BASE/bin/nvim --version

0 commit comments

Comments
 (0)