File tree 4 files changed +49
-0
lines changed
4 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Run Tests
2
+ on : [push]
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+ with :
10
+ submodules : recursive
11
+ - name : install bats
12
+ run : yarn
13
+ - name : install gg
14
+ run : |
15
+ sudo mv -fv ./bin/gg /usr/local/bin/gg
16
+ chmod -v +x /usr/local/bin/gg
17
+ - name : test
18
+ run : yarn test
Original file line number Diff line number Diff line change @@ -61,12 +61,24 @@ Install bats with brew (macOS)
61
61
brew install bats
62
62
```
63
63
64
+ or with yarn / npm
65
+
66
+ ``` bash
67
+ yarn install
68
+ ```
69
+
64
70
### Running
65
71
66
72
``` bash
67
73
bats test
68
74
```
69
75
76
+ or
77
+
78
+ ``` bash
79
+ yarn test
80
+ ```
81
+
70
82
---
71
83
72
84
🧔 Be sure to checkout [ my other repos] ( https://github.com/csi-lk/ ) and [ website / blog] ( https://csi.lk )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " gg" ,
3
+ "description" : " Aliases and helpers for many git related tasks to speed up my workflow" ,
4
+ "author" :
" Callum Silcock <[email protected] > (http://www.csi.lk)" ,
5
+ "scripts" : {
6
+ "test" : " yarn bats test"
7
+ },
8
+ "devDependencies" : {
9
+ "bats" : " ^1.1.0"
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ bats@^1.1.0 :
6
+ version "1.1.0"
7
+ resolved "https://registry.yarnpkg.com/bats/-/bats-1.1.0.tgz#6fc44f283ed4e7af2b6ffac93ec5026a1acbdc66"
8
+ integrity sha512-1pA29OhDByrUtAXX+nmqZxgRgx2y8PvuZzbLJVjd2dpEDVDvz0MjcBMdmIPNq5lC+tG53G+RbeRsbIlv3vw7tg==
You can’t perform that action at this time.
0 commit comments