fix(rocks): use forward slash in package.path and package.cpath #21
This file contains hidden or 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: Run Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| nvim-version: ['stable', 'nightly'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Neovim | |
| uses: rhysd/action-setup-vim@v1 | |
| with: | |
| neovim: true | |
| version: ${{ matrix.nvim-version }} | |
| - name: Install dependencies (ubuntu) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ripgrep curl | |
| - name: Install dependencies (macos) | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install ripgrep curl | |
| - name: Install dependencies (windows) | |
| if: runner.os == 'Windows' | |
| run: | | |
| choco install ripgrep curl | |
| - name: Cache test dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: test/.deps | |
| key: test-deps-luaunit-job-${{ runner.os }} | |
| - name: Run tests | |
| run: make test | |