Skip to content

Commit

Permalink
feat!: add Gitlab Provider and rename to pipeline.nvim (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
topaxi authored Nov 20, 2024
1 parent aed57b4 commit 34c2b7b
Show file tree
Hide file tree
Showing 52 changed files with 1,986 additions and 1,082 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
neovim_version: ['nightly']
neovim_version: ['stable', 'nightly']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: date +%F > todays-date
- name: Restore cache for today's nightly.
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: _neovim
key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }}

- name: Prepare plenary
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
ln -s "$(pwd)" ~/.local/share/nvim/site/pack/vendor/start
- name: Build rust module
run: |
sudo apt install -y libluajit-5.1-dev
Expand All @@ -40,5 +35,4 @@ jobs:
version: ${{ matrix.neovim_version }}

- name: Run tests
run: |
nvim --headless --noplugin -u tests/minimal.vim -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
run: make test
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
lua/deps
lua/libgh_actions_rust.so
lua/pipeline_native/deps
lua/pipeline_native/yaml.so

target

.tests
9 changes: 5 additions & 4 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ignore = {
"631", -- max_line_length
'212', -- unused_argument
'631', -- max_line_length
}
read_globals = {
vim = {
Expand All @@ -15,7 +16,7 @@ read_globals = {
},
},
},
"describe",
"it",
"assert",
'describe',
'it',
'assert',
}
Loading

0 comments on commit 34c2b7b

Please sign in to comment.