-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (36 loc) · 847 Bytes
/
ci.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
name: ci
on:
push:
branches:
- main
paths-ignore:
- README.md
pull_request:
branches:
- main
paths-ignore:
- README.md
jobs:
test:
runs-on: ubuntu-22.04
permissions:
checks: write
statuses: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Check code style
uses: reviewdog/[email protected]
- name: Run static analysis
uses: reviewdog/[email protected]
- name: Set up bats
run: npm install -g [email protected]
- name: Run tests
run: bats --report-formatter junit . completion/bash
- name: Create test report
uses: dorny/[email protected]
if: always()
with:
name: Test report
path: report.xml
reporter: java-junit