Skip to content

Commit 966a0c9

Browse files
authored
Create main.yml
1 parent e42a751 commit 966a0c9

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: vim-svelte-plugin test
2+
on: [push]
3+
jobs:
4+
Basic-Test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
8+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
9+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
10+
- name: Check out repository code
11+
uses: actions/checkout@v3
12+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
13+
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
14+
- name: List files in the repository
15+
run: |
16+
ls ${{ github.workspace }}
17+
18+
- name: Install neovim
19+
run: |
20+
sudo add-apt-repository ppa:neovim-ppa/stable -y
21+
sudo apt-get update
22+
sudo apt-get -y install neovim
23+
- name: Clone vim-test and syntax dependencies
24+
run: |
25+
git clone https://github.com/leafOfTree/vim-test ../vim-test --depth=1
26+
git clone https://github.com/digitaltoad/vim-pug ../vim-pug --depth=1
27+
git clone https://github.com/kchmck/vim-coffee-script ../vim-coffee-script --depth=1
28+
git clone https://github.com/leafgarland/typescript-vim ../typescript-vim --depth=1
29+
30+
- name: Run test
31+
run: |
32+
bash ../vim-test/start.sh svelte vim-svelte-plugin
33+
34+
- run: echo "🍏 This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)