Skip to content

Commit 01aaa32

Browse files
V2 - First rebase (#48)
* Remove v1 data * save config * Update license * Create enrich rules * Create process rules * Add summary rules * Add sender and renderer tests * Add invoice tests * Add Forma de pago tests * Forma de pago refactoring * Add Issue 30 test * Add CreditNote * Add debit note * Add fecha vencimiento * Save anticipos but with failures * Anticipos tested * format code * Add direccion de entrega * Add detraccion * Add percepcion * Add licenses * Add CI changes * Add CI changes * Add CI changes * Add CI changes * Add CI changes * Add CI changes
1 parent 0d590c9 commit 01aaa32

File tree

476 files changed

+9547
-39189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

476 files changed

+9547
-39189
lines changed

.github/dependabot.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
4+
# Maintain dependencies for GitHub Actions
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
commit-message:
10+
prefix: "GitHub Actions"
11+
include: "scope"
12+
# Maintain dependencies for pom.xml
13+
- package-ecosystem: "maven"
14+
directory: "/"
15+
schedule:
16+
interval: "daily"
17+
commit-message:
18+
prefix: "Maven pom.xml"
19+
include: "scope"

.github/workflows/ci-actions.yml

+9-49
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,29 @@ name: CI
22

33
on:
44
push:
5+
branches-ignore:
6+
- "dependabot/**"
57
paths-ignore:
68
- 'README.md'
79
pull_request:
8-
types: [assigned, opened, synchronize, reopened, ready_for_review, edited]
910
paths-ignore:
1011
- 'README.md'
11-
schedule:
12-
- cron: '0 0 * * *'
1312

14-
jobs:
13+
env:
14+
CI: true
1515

16+
jobs:
1617
linux-jvm-tests:
1718
name: JDK ${{matrix.java-version}} JVM Tests
18-
timeout-minutes: 120
1919
strategy:
2020
matrix:
21-
java-version: [8, 11, 15]
22-
21+
java-version: [ 11, 17 ]
2322
runs-on: ubuntu-latest
24-
2523
steps:
2624
- uses: actions/checkout@v2
27-
- uses: actions/setup-java@v1
25+
- uses: actions/setup-java@v2
2826
with:
27+
distribution: "temurin"
2928
java-version: ${{ matrix.java-version }}
3029
- name: Build with Maven
31-
run: mvn install
32-
- name: Prepare failure archive (if maven failed)
33-
if: failure()
34-
shell: bash
35-
run: find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
36-
- name: Upload failure Archive (if maven failed)
37-
uses: actions/upload-artifact@v1
38-
if: failure()
39-
with:
40-
name: test-reports-linux-jvm${{matrix.java-version}}
41-
path: 'test-reports.tgz'
42-
43-
code-scan:
44-
name: Code Scan
45-
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
46-
timeout-minutes: 120
47-
runs-on: ubuntu-latest
48-
49-
steps:
50-
- uses: actions/checkout@v2
51-
- uses: actions/setup-java@v1
52-
with:
53-
java-version: 11
54-
- name: Build with Maven and Coverage/Sonar
55-
run: mvn verify -P coverage,sonar
56-
env:
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
59-
- name: Codecov metrics
60-
uses: codecov/codecov-action@v1
61-
- name: Prepare failure archive (if maven failed)
62-
if: failure()
63-
shell: bash
64-
run: find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
65-
- name: Upload failure Archive (if maven failed)
66-
uses: actions/upload-artifact@v1
67-
if: failure()
68-
with:
69-
name: test-reports-linux-jvm-codescan
70-
path: 'test-reports.tgz'
30+
run: mvn verify

.github/workflows/cron.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
env:
7+
CI: true
8+
9+
jobs:
10+
linux-jvm-tests:
11+
name: JDK ${{matrix.java-version}} JVM Tests
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-java@v2
16+
with:
17+
distribution: "temurin"
18+
java-version: ${{ matrix.java-version }}
19+
- name: Build with Maven
20+
run: mvn verify

.github/workflows/push.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Master branch
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
env:
9+
CI: true
10+
11+
jobs:
12+
code-scan:
13+
name: Code Scan
14+
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-java@v2
19+
with:
20+
distribution: "temurin"
21+
java-version: 8
22+
- name: Build with Maven and Coverage/Sonar
23+
run: mvn verify -P coverage,sonar
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
27+
- name: Codecov metrics
28+
uses: codecov/codecov-action@v1

.github/workflows/stale.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)