Try using setup-lean and splitting Lean 3. #2123
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
nvim-version: | |
- stable | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.nvim-version }} | |
- uses: Julian/setup-lean@v1 | |
- uses: extractions/setup-just@v1 | |
- name: Run tests | |
run: just test | |
env: | |
TEST_SEQUENTIAL: 1 | |
lean3: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Julian/setup-lean@v1 | |
with: | |
lean3ls: true | |
- name: Give leanpkg (fake) greadlink on macOS | |
run: cp scripts/fake_greadlink /usr/local/bin/greadlink | |
if: runner.os == 'macOS' | |
- uses: extractions/setup-just@v1 | |
- name: Run tests | |
run: just test | |
env: | |
TEST_SEQUENTIAL: 1 |