Skip to content

Commit 5065b67

Browse files
authored
Merge pull request #200 from luck3y/CLOUD-3626
CLOUD-3626 - enable GH actions for jboss-eap-modules
2 parents 9cfaae8 + e609501 commit 5065b67

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/main.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will build a Java project with Mav
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+
name: JBoss EAP OpenShift Modules - Bats
5+
on:
6+
push:
7+
branches: [ master ]
8+
pull_request:
9+
branches: [ master ]
10+
env:
11+
LANG: en_US.UTF-8
12+
13+
jobs:
14+
bats:
15+
name: Bats Shell Tests
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-latest]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Install bats
24+
run: sudo apt-get install bats
25+
- name: Run Bats
26+
shell: bash
27+
run: |
28+
rc=0
29+
echo "TAP version 13"
30+
for testName in `find ./ -name *.bats`;
31+
do
32+
echo ${testName};
33+
bats --tap ${testName} || rc=$?
34+
done
35+
exit ${rc}

0 commit comments

Comments
 (0)