Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ jobs:
- nightly
steps:
- uses: actions/checkout@v4
- name: Get date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
- uses: actions/cache/restore@v4
id: cache-primes-restore
with:
key: ${{ runner.os }}-${{ matrix.nvim_version }}-${{ steps.get-date.outputs.date }}
path: |
$HOME/.cargo/bin
$HOME/nvim-${{ matrix.nvim_version }}
/usr/local/busted
/usr/local/fennel
/usr/local/vusted
# TODO: Revert to gh-actions-lua when it's fixed to be up-to-date, and
# remove unnecessary `sudo` in installing test dependencies.
- name: Install luarocks
Expand All @@ -36,6 +50,15 @@ jobs:
with:
neovim: true
version: ${{ matrix.nvim_version }}
- uses: actions/cache/save@v4
with:
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
path: |
$HOME/.cargo/bin
$HOME/nvim-${{ matrix.nvim_version }}
/usr/local/busted
/usr/local/fennel
/usr/local/vusted
- name: Run tests
env:
VUSTED_EXTRA_FLAGS: "--defer-print --suppress-pending"
Expand Down
Loading