File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,22 @@ jobs:
115
115
116
116
See this bash_unit https://github.com/pgrange/bash_unit_getting_started[getting started gitlab project] for a working example.
117
117
118
+ == GitLab CI
119
+
120
+ Here is an example of how you could integrate *bash_unit* with https://docs.gitlab.com/ee/ci/[GitLab CI]:
121
+
122
+ ```
123
+ test:
124
+ image: debian
125
+ script:
126
+ - apt-get update
127
+ - apt-get install --no-install-recommends -y curl ca-certificates
128
+ - curl -s https://raw.githubusercontent.com/pgrange/bash_unit/master/install.sh | bash
129
+ - FORCE_COLOR=true ./bash_unit tests/test_*
130
+ ```
131
+
132
+ See this bash_unit https://gitlab.com/pgrange/bash_unit_getting_started[getting started gitlab project] for a working example.
133
+
118
134
=== https://pre-commit.com[pre-commit] hook
119
135
120
136
You can run `+bash_unit+` as a https://pre-commit.com[pre-commit] hook.
You can’t perform that action at this time.
0 commit comments