Skip to content

Commit 51fc9ad

Browse files
committed
add CI workflow
1 parent b8ca314 commit 51fc9ad

File tree

2 files changed

+29
-4
lines changed

2 files changed

+29
-4
lines changed

.github/workflows/ci.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
unit-tests:
6+
name: Unit tests
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest]
10+
runs-on: ${{ matrix.os }}
11+
steps:
12+
- run: sudo apt install -y --no-install-recommends clang-format
13+
if: ${{ matrix.os == 'ubuntu-latest' }}
14+
- uses: actions/checkout@v2
15+
- uses: ruby/setup-ruby@v1
16+
with:
17+
ruby-version: 3
18+
bundler-cache: true
19+
- uses: rhysd/action-setup-vim@v1
20+
- name: Run unit tests
21+
run: |
22+
cd ./test
23+
bundle --version
24+
bundle install
25+
bundle exec vim-flavor test

test/Gemfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
parslet (1.8.1)
5-
thor (0.20.0)
4+
parslet (1.8.2)
5+
thor (0.20.3)
66
vim-flavor (1.1.5)
77
parslet (~> 1.0)
88
thor (~> 0.14)
99

1010
PLATFORMS
11-
ruby
11+
x86_64-darwin-19
1212

1313
DEPENDENCIES
1414
vim-flavor (~> 1.1)
1515

1616
BUNDLED WITH
17-
1.11.2
17+
2.2.22

0 commit comments

Comments
 (0)