-
-
Notifications
You must be signed in to change notification settings - Fork 285
44 lines (34 loc) · 876 Bytes
/
vgit.yml
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
35
36
37
38
39
40
41
42
43
44
name: vgit-testing
on:
pull_request:
branches:
- stable
- develop
push:
branches:
- stable
- develop
jobs:
run-tests:
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.pythonversion }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install VisiData
run: pip3 install .
- name: Install vgit
run: pip3 install visidata/apps/vgit/
- name: Ensure it starts up
run: vgit --version
- name: Create visidatarc
run: touch ~/.visidatarc
- name: Import vgit
run: echo "import visidata.apps.vgit" >> ~/.visidatarc
- name: Run tests
run: vd -p visidata/apps/vgit/tests/*.vdx --batch