-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (44 loc) · 1.13 KB
/
tests.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
37
38
39
40
41
42
43
44
45
name: Tests
on: push
jobs:
# <---------------- TEST BASIC CONFIG ------------------>
code-quality-basic:
name: Basic
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Basic Test
uses: ./
- name: Upload Reports
uses: actions/upload-artifact@v4
if: always()
with:
name: Basic Reports
path: |
codeclimate-report.json
codeclimate-report.html
# <--------------- TEST ADVANCED CONFIG ---------------->
code-quality-advanced:
name: Advanced
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Advanced Test
uses: ./
with:
html_report: true
info_threshold: 10
minor_threshold: 5
major_threshold: 1
critical_threshold: 0
blocker_threshold: 0
- name: Upload Reports
uses: actions/upload-artifact@v4
if: always()
with:
name: Advanced Reports
path: |
codeclimate-report.json
codeclimate-report.html