Skip to content

Commit

Permalink
V2 - First rebase (#48)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
carlosthe19916 authored Apr 3, 2022
1 parent 0d590c9 commit 01aaa32
Show file tree
Hide file tree
Showing 476 changed files with 9,547 additions and 39,189 deletions.
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "GitHub Actions"
include: "scope"
# Maintain dependencies for pom.xml
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "Maven pom.xml"
include: "scope"
58 changes: 9 additions & 49 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,29 @@ name: CI

on:
push:
branches-ignore:
- "dependabot/**"
paths-ignore:
- 'README.md'
pull_request:
types: [assigned, opened, synchronize, reopened, ready_for_review, edited]
paths-ignore:
- 'README.md'
schedule:
- cron: '0 0 * * *'

jobs:
env:
CI: true

jobs:
linux-jvm-tests:
name: JDK ${{matrix.java-version}} JVM Tests
timeout-minutes: 120
strategy:
matrix:
java-version: [8, 11, 15]

java-version: [ 11, 17 ]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: ${{ matrix.java-version }}
- name: Build with Maven
run: mvn install
- name: Prepare failure archive (if maven failed)
if: failure()
shell: bash
run: find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v1
if: failure()
with:
name: test-reports-linux-jvm${{matrix.java-version}}
path: 'test-reports.tgz'

code-scan:
name: Code Scan
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
timeout-minutes: 120
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven and Coverage/Sonar
run: mvn verify -P coverage,sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Codecov metrics
uses: codecov/codecov-action@v1
- name: Prepare failure archive (if maven failed)
if: failure()
shell: bash
run: find . -name '*-reports' -type d | tar -czvf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v1
if: failure()
with:
name: test-reports-linux-jvm-codescan
path: 'test-reports.tgz'
run: mvn verify
20 changes: 20 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
schedule:
- cron: '0 0 * * *'
env:
CI: true

jobs:
linux-jvm-tests:
name: JDK ${{matrix.java-version}} JVM Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: ${{ matrix.java-version }}
- name: Build with Maven
run: mvn verify
28 changes: 28 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Master branch

on:
push:
branches:
- master

env:
CI: true

jobs:
code-scan:
name: Code Scan
if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'project-openubl' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 8
- name: Build with Maven and Coverage/Sonar
run: mvn verify -P coverage,sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Codecov metrics
uses: codecov/codecov-action@v1
19 changes: 0 additions & 19 deletions .github/workflows/stale.yml

This file was deleted.

Loading

0 comments on commit 01aaa32

Please sign in to comment.