-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (31 loc) Β· 1.49 KB
/
main.yml
File metadata and controls
34 lines (31 loc) Β· 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: vim-svelte-plugin test
on: [push]
jobs:
Basic-Test:
runs-on: ubuntu-latest
steps:
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "π‘ The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "π₯οΈ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Install neovim
run: |
sudo add-apt-repository ppa:neovim-ppa/stable -y
sudo apt-get update
sudo apt-get -y install neovim
- name: Clone vim-test and syntax dependencies
run: |
git clone https://github.com/leafOfTree/vim-test ../vim-test --depth=1
git clone https://github.com/digitaltoad/vim-pug ../vim-pug --depth=1
git clone https://github.com/kchmck/vim-coffee-script ../vim-coffee-script --depth=1
git clone https://github.com/leafgarland/typescript-vim ../typescript-vim --depth=1
- name: Run test
run: |
bash ../vim-test/start.sh svelte vim-svelte-plugin
- run: echo "π This job's status is ${{ job.status }}."