8
8
- master
9
9
concurrency :
10
10
group : ${{ github.ref }}-${{ github.workflow }}
11
- cancel-in-progress : ${{ !contains( github.ref, ' master') }}
11
+ cancel-in-progress : ${{ github.ref != 'refs/heads/ master' }}
12
12
jobs :
13
13
commits :
14
14
name : Commits
69
69
- lint
70
70
strategy :
71
71
matrix :
72
- nvim_version : [stable, nightly, v0.7 .0]
72
+ nvim_version : [stable, nightly, v0.9 .0]
73
73
runs-on : ubuntu-latest
74
74
steps :
75
75
- uses : actions/checkout@v4
@@ -80,60 +80,59 @@ jobs:
80
80
version : ${{ matrix.nvim_version }}
81
81
- uses : leafo/gh-actions-lua@v10
82
82
with :
83
- luaVersion : " luajit-2.1.0-beta3"
83
+ # luaVersion: "luajit-2.1.0-beta3"
84
+ luaVersion : " luajit-openresty"
84
85
- uses : leafo/gh-actions-luarocks@v4
85
86
- name : Run Test Cases
86
87
shell : bash
87
88
run : |
88
89
luarocks install vusted
89
90
vusted ./spec
90
- code_coverage :
91
- name : Code Coverage
92
- needs :
93
- - lint
94
- strategy :
95
- matrix :
96
- nvim_version : [stable]
97
- runs-on : ubuntu-latest
98
- steps :
99
- - uses : actions/checkout@v4
100
- - uses : rhysd/action-setup-vim@v1
101
- id : vim
102
- with :
103
- neovim : true
104
- version : ${{ matrix.nvim_version }}
105
- - uses : leafo/gh-actions-lua@v10
106
- with :
107
- luaVersion : " luajit-2.1.0-beta3"
108
- - uses : leafo/gh-actions-luarocks@v4
109
- - name : Generate Coverage Reports
110
- shell : bash
111
- run : |
112
- luarocks install luacov
113
- luarocks install vusted
114
- vusted --coverage ./spec
115
- - name : Upload Coverage Reports
116
- shell : bash
117
- run : |
118
- echo "ls ."
119
- ls -l .
120
- echo "run luacov"
121
- luacov
122
- echo "ls ."
123
- ls -l .
124
- echo "cat ./luacov.report.out"
125
- cat ./luacov.report.out
126
- - uses : codecov/codecov-action@v3
127
- with :
128
- files : luacov.report.out
129
- env :
130
- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
91
+ # code_coverage:
92
+ # name: Code Coverage
93
+ # needs:
94
+ # - lint
95
+ # strategy:
96
+ # matrix:
97
+ # nvim_version: [stable]
98
+ # runs-on: ubuntu-latest
99
+ # steps:
100
+ # - uses: actions/checkout@v4
101
+ # - uses: rhysd/action-setup-vim@v1
102
+ # id: vim
103
+ # with:
104
+ # neovim: true
105
+ # version: ${{ matrix.nvim_version }}
106
+ # - uses: leafo/gh-actions-lua@v10
107
+ # with:
108
+ # # luaVersion: "luajit-2.1.0-beta3"
109
+ # luaVersion: "luajit-openresty"
110
+ # - uses: leafo/gh-actions-luarocks@v4
111
+ # - name: Generate Coverage Reports
112
+ # run: |
113
+ # luarocks --lua-version=5.1 install luacov
114
+ # luarocks --lua-version=5.1 install luacov-reporter-lcov
115
+ # luarocks --lua-version=5.1 install vusted
116
+ # vusted --coverage ./spec
117
+ # echo "ls ."
118
+ # ls -l .
119
+ # echo "run luacov"
120
+ # luacov
121
+ # echo "ls ."
122
+ # ls -l .
123
+ # echo "tail ./luacov.report.out"
124
+ # tail -n 10 ./luacov.report.out
125
+ # - uses: codecov/codecov-action@v4
126
+ # with:
127
+ # files: luacov.report.out
128
+ # env:
129
+ # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
131
130
release :
132
131
name : Release
133
132
if : ${{ github.ref == 'refs/heads/master' }}
134
133
needs :
135
134
- unit_test
136
- - code_coverage
135
+ # - code_coverage
137
136
runs-on : ubuntu-latest
138
137
steps :
139
138
- uses : google-github-actions/release-please-action@v3
0 commit comments