Skip to content

Commit 4da4e61

Browse files
committed
Add CI
1 parent c3ced7d commit 4da4e61

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Continuous Integration
3+
4+
on:
5+
push:
6+
branches: [main]
7+
8+
pull_request:
9+
branches: [main]
10+
11+
workflow_dispatch:
12+
13+
jobs:
14+
run-tests:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repo
19+
uses: actions/checkout@v2
20+
21+
- name: Run Cucumber tests
22+
run: mvn test
23+
24+
- name: Upload test report
25+
if: failure()
26+
uses: actions/upload-artifact@v2
27+
with:
28+
name: Test_Report
29+
path: target/cucumber-report.html
30+

0 commit comments

Comments
 (0)