diff --git a/.github/workflows/all_modules_test.yml.disabled b/.github/workflows/all_modules_test.yml.disabled new file mode 100644 index 000000000..d85c1ee33 --- /dev/null +++ b/.github/workflows/all_modules_test.yml.disabled @@ -0,0 +1,150 @@ +# This workflow is disabled because Github is not supporting matrix output separatly by job: PR https://github.com/actions/runner/pull/2477 + +name: ALL_MODULES +on: + schedule: + - cron: '0 0 * * 1' + pull_request: + branches: [ main ] + +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + +env: + POSTGRES_USER: erp + POSTGRES_PASSWORD: erp + +jobs: + build: + runs-on: ubuntu-latest + strategy: + # You can use PyPy versions in python-version. + # For example, pypy2 and pypy3 + fail-fast: false + matrix: + # python-version: [ "2.7", "3.10" ] + python-version: [ "2.7" ] + module: ["account_account_som", "account_invoice_som", "base_extended_som", "dx_invoice_supplier_renumber", "giscedata_facturacio_comer_som", "giscedata_facturacio_iva_10_som", "giscedata_facturacio_som", "powersms", "som_account_invoice_pending", "som_atc", "som_autofactura", "som_autoreclama", "som_control_reports", "som_crawlers", "som_dashboard", "som_documents_sensibles", "som_empowering", "som_energetica", "som_extend_facturacio_comer", "som_extend_facturacio_facturae", "som_facturacio_calculada", "som_facturacio_comer", "som_facturacio_flux_solar", "som_facturacio_switching", "som_factures_paper", "som_indexada", "som_infoenergia", "som_informe", "som_inversions", "som_l10n_ES_aeat_mod347", "som_leads_polissa", "som_partner_account", "som_partner_seq", "som_polissa", "som_polissa_administradora", "som_polissa_condicions_generals", "som_polissa_condicions_generals_m101", "som_polissa_soci", "som_poweremail_common_templates", "som_remeses_base", "som_switching", "som_telemesura", "som_webforms_helpers", "uiqmako_helpers", "www_som", ] + services: + postgres: + image: timescale/timescaledb-postgis:latest-pg12 + env: + POSTGRES_USER: erp + POSTGRES_PASSWORD: erp + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps tcp port 5432 on service container to the host + - 5432:5432 + redis: + image: redis:5.0 + ports: + # Maps tcp port 6379 on service container to the host + - 6379:6379 + mongo: + image: mongo:3.0 + ports: + - 27017:27017 + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + - name: Set up Python ${{ matrix.python-version }} + if: matrix.python-version != '2.7' + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Set up Python 2.7 + if: matrix.python-version == '2.7' + run: | + sudo apt-get update + sudo apt-get install -y python2.7 python2.7-dev + sudo ln -sf python2.7 /usr/bin/python + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py + python get-pip.py + rm get-pip.py + pip install --upgrade pip setuptools wheel + - name: Download required repositories + env: + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_GA }} + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + git clone --depth 1 https://$GITHUB_TOKEN@github.com/Som-Energia/erp.git -b developer $ROOT_DIR_SRC/erp + git clone --depth 1 https://$GITHUB_TOKEN@github.com/Som-Energia/libFacturacioATR.git $ROOT_DIR_SRC/libFacturacioATR + git clone --depth 1 https://github.com/Som-Energia/somenergia-generationkwh.git $ROOT_DIR_SRC/somenergia-generationkwh + git clone --depth 1 https://github.com/Som-Energia/plantmeter.git $ROOT_DIR_SRC/plantmeter + git clone --depth 1 https://github.com/Som-Energia/giscedata_facturacio_indexada_som.git $ROOT_DIR_SRC/giscedata_facturacio_indexada_som + git clone --depth 1 https://github.com/gisce/oorq.git -b api_v5 $ROOT_DIR_SRC/oorq + git clone --depth 1 https://github.com/gisce/spawn_oop.git $ROOT_DIR_SRC/spawn_oop + git clone --depth 1 https://github.com/gisce/poweremail.git $ROOT_DIR_SRC/poweremail2 + git clone --depth 1 https://github.com/gisce/openerp-sentry.git -b v5_legacy $ROOT_DIR_SRC/openerp-sentry + git clone --depth 1 https://github.com/gisce/ws_transactions.git $ROOT_DIR_SRC/ws_transactions + git clone --depth 1 https://github.com/gisce/ir_attachment_mongodb.git $ROOT_DIR_SRC/ir_attachment_mongodb + git clone --depth 1 https://github.com/gisce/mongodb_backend.git -b gisce $ROOT_DIR_SRC/mongodb_backend + git clone --depth 1 https://github.com/gisce/poweremail-modules.git $ROOT_DIR_SRC/poweremail-modules + git clone --depth 1 https://github.com/gisce/crm_poweremail.git $ROOT_DIR_SRC/crm_poweremail + git clone --depth 1 https://github.com/gisce/ooop.git $ROOT_DIR_SRC/ooop + - name: Install dependencies + run: | + sudo apt-get --allow-releaseinfo-change update + sudo apt-get install python2-dev python3-dev libxml2-dev libxmlsec1 libxmlsec1-dev libgdal-dev -y + export ROOT_DIR_SRC=${{github.workspace}}/.. + cd $ROOT_DIR_SRC + pip install virtualenv + virtualenv venv + . $ROOT_DIR_SRC/venv/bin/activate + cd $ROOT_DIR_SRC/libFacturacioATR + git checkout $(git describe --tags `git rev-list --tags --max-count=1`) + pip install -e . + cd $ROOT_DIR_SRC/ooop + git checkout $(git describe --tags `git rev-list --tags --max-count=1`) + pip install -e . + pip install somutils + cd $ROOT_DIR_SRC/somenergia-generationkwh + pip install -e . || "Not installing somenergia-generation Python package" + cd $ROOT_DIR_SRC/plantmeter + pip install -e . || "Not installing plantmeter Python package" + cd $ROOT_DIR_SRC + pip install -r $ROOT_DIR_SRC/erp/requirements-dev.txt + pip install -r $ROOT_DIR_SRC/erp/requirements.txt + #pip install --upgrade --force-reinstall https://github.com/gisce/destral/archive/master.zip + #pip install destral==1.7.3 + - name: Link Addons + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + . $ROOT_DIR_SRC/venv/bin/activate + cd $ROOT_DIR_SRC/erp && ./tools/link_addons.sh + - name: Run Tests + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + export CI_REPO=som-energia/openerp_som_addons + export CI_PULL_REQUEST=${{ github.event.number }} + export ROOT_DIR_SRC=${{github.workspace}}/.. + . $ROOT_DIR_SRC/venv/bin/activate + export PYTHONPATH=${{github.workspace}}/../erp/server/bin:${{github.workspace}}/../erp/server/bin/addons:${{github.workspace}}/../erp/server/sitecustomize + export OPENERP_PRICE_ACCURACY=6 + export OORQ_ASYNC=False + export OPENERP_SRID=$SRID + export OPENERP_ESIOS_TOKEN=$ESIOS_TOKEN + export OPENERP_MONGODB_HOST=localhost + export OPENERP_REDIS_URL=redis://localhost:6379 + export OPENERP_ROOT_PATH=${{github.workspace}}/../erp/server/bin + export OPENERP_ADDONS_PATH=$OPENERP_ROOT_PATH/addons + export OPENERP_DB_HOST=localhost + export OPENERP_DB_USER=$POSTGRES_USER + export OPENERP_DB_PASSWORD=$POSTGRES_PASSWORD + cd ${{github.workspace}} + destral --report-coverage --enable-coverage --report-junitxml ${{github.workspace}}/test-results/destral -m ${{matrix.module}} + - name: Publish Unit Test Results + if: (success() || failure()) && matrix.python-version == '2.7' && github.event_name == 'pull_request' + uses: EnricoMi/publish-unit-test-result-action@v1 + with: + files: test-results/destral/*.xml diff --git a/.github/workflows/reusable_workflow.yml b/.github/workflows/reusable_workflow.yml new file mode 100644 index 000000000..fcedcf973 --- /dev/null +++ b/.github/workflows/reusable_workflow.yml @@ -0,0 +1,152 @@ +# This workflow will pass tests of module passed by input + +name: ERP_REUSABLE +on: + workflow_call: + inputs: + module: + required: true + type: string + secrets: + ACCESS_TOKEN_GA: + required: true + ESIOS_TOKEN: + required: true + SRID: + required: true + +env: + POSTGRES_USER: erp + POSTGRES_PASSWORD: erp + +jobs: + build: + runs-on: ubuntu-latest + strategy: + # You can use PyPy versions in python-version. + # For example, pypy2 and pypy3 + fail-fast: false + matrix: + # python-version: [ "2.7", "3.10" ] + python-version: [ "2.7" ] + services: + postgres: + image: timescale/timescaledb-postgis:latest-pg12 + env: + POSTGRES_USER: erp + POSTGRES_PASSWORD: erp + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + # Maps tcp port 5432 on service container to the host + - 5432:5432 + redis: + image: redis:5.0 + ports: + # Maps tcp port 6379 on service container to the host + - 6379:6379 + mongo: + image: mongo:3.0 + ports: + - 27017:27017 + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + - name: Set up Python ${{ matrix.python-version }} + if: matrix.python-version != '2.7' + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Set up Python 2.7 + if: matrix.python-version == '2.7' + run: | + sudo apt-get update + sudo apt-get install -y python2.7 python2.7-dev + sudo ln -sf python2.7 /usr/bin/python + curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py + python get-pip.py + rm get-pip.py + pip install --upgrade pip setuptools wheel + - name: Download required repositories + env: + GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_GA }} + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + git clone --depth 1 https://$GITHUB_TOKEN@github.com/Som-Energia/erp.git -b developer $ROOT_DIR_SRC/erp + git clone --depth 1 https://$GITHUB_TOKEN@github.com/Som-Energia/libFacturacioATR.git $ROOT_DIR_SRC/libFacturacioATR + git clone --depth 1 https://github.com/Som-Energia/somenergia-generationkwh.git $ROOT_DIR_SRC/somenergia-generationkwh + git clone --depth 1 https://github.com/Som-Energia/plantmeter.git $ROOT_DIR_SRC/plantmeter + git clone --depth 1 https://github.com/Som-Energia/giscedata_facturacio_indexada_som.git $ROOT_DIR_SRC/giscedata_facturacio_indexada_som + git clone --depth 1 https://github.com/gisce/oorq.git -b api_v5 $ROOT_DIR_SRC/oorq + git clone --depth 1 https://github.com/gisce/spawn_oop.git $ROOT_DIR_SRC/spawn_oop + git clone --depth 1 https://github.com/gisce/poweremail.git $ROOT_DIR_SRC/poweremail2 + git clone --depth 1 https://github.com/gisce/openerp-sentry.git -b v5_legacy $ROOT_DIR_SRC/openerp-sentry + git clone --depth 1 https://github.com/gisce/ws_transactions.git $ROOT_DIR_SRC/ws_transactions + git clone --depth 1 https://github.com/gisce/ir_attachment_mongodb.git $ROOT_DIR_SRC/ir_attachment_mongodb + git clone --depth 1 https://github.com/gisce/mongodb_backend.git -b gisce $ROOT_DIR_SRC/mongodb_backend + git clone --depth 1 https://github.com/gisce/poweremail-modules.git $ROOT_DIR_SRC/poweremail-modules + git clone --depth 1 https://github.com/gisce/crm_poweremail.git $ROOT_DIR_SRC/crm_poweremail + git clone --depth 1 https://github.com/gisce/ooop.git $ROOT_DIR_SRC/ooop + - name: Install dependencies + run: | + sudo apt-get --allow-releaseinfo-change update + sudo apt-get install python2-dev python3-dev libxml2-dev libxmlsec1 libxmlsec1-dev libgdal-dev -y + export ROOT_DIR_SRC=${{github.workspace}}/.. + cd $ROOT_DIR_SRC + pip install virtualenv + virtualenv venv + . $ROOT_DIR_SRC/venv/bin/activate + cd $ROOT_DIR_SRC/libFacturacioATR + git checkout $(git describe --tags `git rev-list --tags --max-count=1`) + pip install -e . + cd $ROOT_DIR_SRC/ooop + git checkout $(git describe --tags `git rev-list --tags --max-count=1`) + pip install -e . + pip install somutils + cd $ROOT_DIR_SRC/somenergia-generationkwh + pip install -e . || "Not installing somenergia-generation Python package" + cd $ROOT_DIR_SRC/plantmeter + pip install -e . || "Not installing plantmeter Python package" + cd $ROOT_DIR_SRC + pip install -r $ROOT_DIR_SRC/erp/requirements-dev.txt + pip install -r $ROOT_DIR_SRC/erp/requirements.txt + #pip install --upgrade --force-reinstall https://github.com/gisce/destral/archive/master.zip + #pip install destral==1.7.3 + - name: Link Addons + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + . $ROOT_DIR_SRC/venv/bin/activate + cd $ROOT_DIR_SRC/erp && ./tools/link_addons.sh + - name: Run Tests + env: + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} + run: | + export ROOT_DIR_SRC=${{github.workspace}}/.. + export CI_REPO=som-energia/openerp_som_addons + export CI_PULL_REQUEST=${{ github.event.number }} + export ROOT_DIR_SRC=${{github.workspace}}/.. + . $ROOT_DIR_SRC/venv/bin/activate + export PYTHONPATH=${{github.workspace}}/../erp/server/bin:${{github.workspace}}/../erp/server/bin/addons:${{github.workspace}}/../erp/server/sitecustomize + export OPENERP_PRICE_ACCURACY=6 + export OORQ_ASYNC=False + export OPENERP_SRID=$SRID + export OPENERP_ESIOS_TOKEN=$ESIOS_TOKEN + export OPENERP_MONGODB_HOST=localhost + export OPENERP_REDIS_URL=redis://localhost:6379 + export OPENERP_ROOT_PATH=${{github.workspace}}/../erp/server/bin + export OPENERP_ADDONS_PATH=$OPENERP_ROOT_PATH/addons + export OPENERP_DB_HOST=localhost + export OPENERP_DB_USER=$POSTGRES_USER + export OPENERP_DB_PASSWORD=$POSTGRES_PASSWORD + cd ${{github.workspace}} + destral --report-coverage --enable-coverage --report-junitxml ${{github.workspace}}/test-results/destral -m ${{ inputs.module }} + - name: Publish Unit Test Results + if: (success() || failure()) && matrix.python-version == '2.7' && github.event_name == 'pull_request' + uses: EnricoMi/publish-unit-test-result-action@v1 + with: + files: test-results/destral/*.xml diff --git a/.github/workflows/schedule_tests_account_account_som.yml b/.github/workflows/schedule_tests_account_account_som.yml new file mode 100644 index 000000000..a1d4428d6 --- /dev/null +++ b/.github/workflows/schedule_tests_account_account_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: account_account_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: account_account_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_account_invoice_som.yml b/.github/workflows/schedule_tests_account_invoice_som.yml new file mode 100644 index 000000000..28a41d69c --- /dev/null +++ b/.github/workflows/schedule_tests_account_invoice_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: account_invoice_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: account_invoice_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_base_extended_som.yml b/.github/workflows/schedule_tests_base_extended_som.yml new file mode 100644 index 000000000..41dd3b424 --- /dev/null +++ b/.github/workflows/schedule_tests_base_extended_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: base_extended_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: base_extended_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_dx_invoice_supplier_renumber.yml b/.github/workflows/schedule_tests_dx_invoice_supplier_renumber.yml new file mode 100644 index 000000000..29912013a --- /dev/null +++ b/.github/workflows/schedule_tests_dx_invoice_supplier_renumber.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: dx_invoice_supplier_renumber +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: dx_invoice_supplier_renumber + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_giscedata_facturacio_comer_som.yml b/.github/workflows/schedule_tests_giscedata_facturacio_comer_som.yml new file mode 100644 index 000000000..b3c2d47e6 --- /dev/null +++ b/.github/workflows/schedule_tests_giscedata_facturacio_comer_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: giscedata_facturacio_comer_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: giscedata_facturacio_comer_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_giscedata_facturacio_som.yml b/.github/workflows/schedule_tests_giscedata_facturacio_som.yml new file mode 100644 index 000000000..5d344bf9e --- /dev/null +++ b/.github/workflows/schedule_tests_giscedata_facturacio_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: giscedata_facturacio_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: giscedata_facturacio_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_powersms.yml b/.github/workflows/schedule_tests_powersms.yml new file mode 100644 index 000000000..79e1420a2 --- /dev/null +++ b/.github/workflows/schedule_tests_powersms.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: powersms +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: powersms + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_account_invoice_pending.yml b/.github/workflows/schedule_tests_som_account_invoice_pending.yml new file mode 100644 index 000000000..fb0ca497e --- /dev/null +++ b/.github/workflows/schedule_tests_som_account_invoice_pending.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_account_invoice_pending +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_account_invoice_pending + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_atc.yml b/.github/workflows/schedule_tests_som_atc.yml new file mode 100644 index 000000000..d3b23a5bb --- /dev/null +++ b/.github/workflows/schedule_tests_som_atc.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_atc +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_atc + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_autofactura.yml b/.github/workflows/schedule_tests_som_autofactura.yml new file mode 100644 index 000000000..b9475ffc8 --- /dev/null +++ b/.github/workflows/schedule_tests_som_autofactura.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_autofactura +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_autofactura + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_autoreclama.yml b/.github/workflows/schedule_tests_som_autoreclama.yml new file mode 100644 index 000000000..ad1a6fa64 --- /dev/null +++ b/.github/workflows/schedule_tests_som_autoreclama.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_autoreclama +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_autoreclama + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_control_reports.yml b/.github/workflows/schedule_tests_som_control_reports.yml new file mode 100644 index 000000000..b56dbe5d3 --- /dev/null +++ b/.github/workflows/schedule_tests_som_control_reports.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_control_reports +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_control_reports + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_crawlers.yml b/.github/workflows/schedule_tests_som_crawlers.yml new file mode 100644 index 000000000..1f3c879df --- /dev/null +++ b/.github/workflows/schedule_tests_som_crawlers.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_crawlers +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_crawlers + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_dashboard.yml b/.github/workflows/schedule_tests_som_dashboard.yml new file mode 100644 index 000000000..3c0126a1d --- /dev/null +++ b/.github/workflows/schedule_tests_som_dashboard.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_dashboard +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_dashboard + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_documents_sensibles.yml b/.github/workflows/schedule_tests_som_documents_sensibles.yml new file mode 100644 index 000000000..6c86209fd --- /dev/null +++ b/.github/workflows/schedule_tests_som_documents_sensibles.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_documents_sensibles +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_documents_sensibles + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_empowering.yml b/.github/workflows/schedule_tests_som_empowering.yml new file mode 100644 index 000000000..802846e73 --- /dev/null +++ b/.github/workflows/schedule_tests_som_empowering.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_empowering +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_empowering + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_energetica.yml b/.github/workflows/schedule_tests_som_energetica.yml new file mode 100644 index 000000000..4af378890 --- /dev/null +++ b/.github/workflows/schedule_tests_som_energetica.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_energetica +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_energetica + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_extend_facturacio_comer.yml b/.github/workflows/schedule_tests_som_extend_facturacio_comer.yml new file mode 100644 index 000000000..7410cee8b --- /dev/null +++ b/.github/workflows/schedule_tests_som_extend_facturacio_comer.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_extend_facturacio_comer +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_extend_facturacio_comer + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_extend_facturacio_facturae.yml b/.github/workflows/schedule_tests_som_extend_facturacio_facturae.yml new file mode 100644 index 000000000..4ca068e83 --- /dev/null +++ b/.github/workflows/schedule_tests_som_extend_facturacio_facturae.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_extend_facturacio_facturae +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_extend_facturacio_facturae + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_facturacio_calculada.yml b/.github/workflows/schedule_tests_som_facturacio_calculada.yml new file mode 100644 index 000000000..17f57a3e7 --- /dev/null +++ b/.github/workflows/schedule_tests_som_facturacio_calculada.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_facturacio_calculada +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_facturacio_calculada + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_facturacio_comer.yml b/.github/workflows/schedule_tests_som_facturacio_comer.yml new file mode 100644 index 000000000..21336a1c2 --- /dev/null +++ b/.github/workflows/schedule_tests_som_facturacio_comer.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_facturacio_comer +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_facturacio_comer + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_facturacio_flux_solar.yml b/.github/workflows/schedule_tests_som_facturacio_flux_solar.yml new file mode 100644 index 000000000..0a08d56bd --- /dev/null +++ b/.github/workflows/schedule_tests_som_facturacio_flux_solar.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_facturacio_flux_solar +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_facturacio_flux_solar + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_facturacio_switching.yml b/.github/workflows/schedule_tests_som_facturacio_switching.yml new file mode 100644 index 000000000..1df09b5af --- /dev/null +++ b/.github/workflows/schedule_tests_som_facturacio_switching.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_facturacio_switching +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_facturacio_switching + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_factures_paper.yml b/.github/workflows/schedule_tests_som_factures_paper.yml new file mode 100644 index 000000000..f177f4b9c --- /dev/null +++ b/.github/workflows/schedule_tests_som_factures_paper.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_factures_paper +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_factures_paper + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_indexada.yml b/.github/workflows/schedule_tests_som_indexada.yml new file mode 100644 index 000000000..411810fc7 --- /dev/null +++ b/.github/workflows/schedule_tests_som_indexada.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_indexada +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_indexada + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_infoenergia.yml b/.github/workflows/schedule_tests_som_infoenergia.yml new file mode 100644 index 000000000..4cfcacd7f --- /dev/null +++ b/.github/workflows/schedule_tests_som_infoenergia.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_infoenergia +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_infoenergia + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_informe.yml b/.github/workflows/schedule_tests_som_informe.yml new file mode 100644 index 000000000..a348c5264 --- /dev/null +++ b/.github/workflows/schedule_tests_som_informe.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_informe +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_informe + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_inversions.yml b/.github/workflows/schedule_tests_som_inversions.yml new file mode 100644 index 000000000..b4e06b2b9 --- /dev/null +++ b/.github/workflows/schedule_tests_som_inversions.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_inversions +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_inversions + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_l10n_ES_aeat_mod347.yml b/.github/workflows/schedule_tests_som_l10n_ES_aeat_mod347.yml new file mode 100644 index 000000000..f9725ef21 --- /dev/null +++ b/.github/workflows/schedule_tests_som_l10n_ES_aeat_mod347.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_l10n_ES_aeat_mod347 +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_l10n_ES_aeat_mod347 + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_partner_account.yml b/.github/workflows/schedule_tests_som_partner_account.yml new file mode 100644 index 000000000..410bd9e8d --- /dev/null +++ b/.github/workflows/schedule_tests_som_partner_account.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_partner_account +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_partner_account + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_partner_seq.yml b/.github/workflows/schedule_tests_som_partner_seq.yml new file mode 100644 index 000000000..f61e5fb11 --- /dev/null +++ b/.github/workflows/schedule_tests_som_partner_seq.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_partner_seq +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_partner_seq + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_polissa.yml b/.github/workflows/schedule_tests_som_polissa.yml new file mode 100644 index 000000000..b76fe83fe --- /dev/null +++ b/.github/workflows/schedule_tests_som_polissa.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_polissa +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_polissa + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_polissa_administradora.yml b/.github/workflows/schedule_tests_som_polissa_administradora.yml new file mode 100644 index 000000000..9cf97c9e0 --- /dev/null +++ b/.github/workflows/schedule_tests_som_polissa_administradora.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_polissa_administradora +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_polissa_administradora + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_polissa_condicions_generals.yml b/.github/workflows/schedule_tests_som_polissa_condicions_generals.yml new file mode 100644 index 000000000..2d1cb5d0e --- /dev/null +++ b/.github/workflows/schedule_tests_som_polissa_condicions_generals.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_polissa_condicions_generals +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_polissa_condicions_generals + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_polissa_condicions_generals_m101.yml b/.github/workflows/schedule_tests_som_polissa_condicions_generals_m101.yml new file mode 100644 index 000000000..8aadd58ef --- /dev/null +++ b/.github/workflows/schedule_tests_som_polissa_condicions_generals_m101.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_polissa_condicions_generals_m101 +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_polissa_condicions_generals_m101 + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_polissa_soci.yml b/.github/workflows/schedule_tests_som_polissa_soci.yml new file mode 100644 index 000000000..b54684e50 --- /dev/null +++ b/.github/workflows/schedule_tests_som_polissa_soci.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_polissa_soci +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_polissa_soci + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_poweremail_common_templates.yml b/.github/workflows/schedule_tests_som_poweremail_common_templates.yml new file mode 100644 index 000000000..90e11acfa --- /dev/null +++ b/.github/workflows/schedule_tests_som_poweremail_common_templates.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_poweremail_common_templates +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_poweremail_common_templates + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_remeses_base.yml b/.github/workflows/schedule_tests_som_remeses_base.yml new file mode 100644 index 000000000..188d08ca6 --- /dev/null +++ b/.github/workflows/schedule_tests_som_remeses_base.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_remeses_base +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_remeses_base + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_switching.yml b/.github/workflows/schedule_tests_som_switching.yml new file mode 100644 index 000000000..219bd8444 --- /dev/null +++ b/.github/workflows/schedule_tests_som_switching.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_switching +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_switching + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_telemesura.yml b/.github/workflows/schedule_tests_som_telemesura.yml new file mode 100644 index 000000000..4b7617961 --- /dev/null +++ b/.github/workflows/schedule_tests_som_telemesura.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_telemesura +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_telemesura + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_som_webforms_helpers.yml b/.github/workflows/schedule_tests_som_webforms_helpers.yml new file mode 100644 index 000000000..2ced887ff --- /dev/null +++ b/.github/workflows/schedule_tests_som_webforms_helpers.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: som_webforms_helpers +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: som_webforms_helpers + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_uiqmako_helpers.yml b/.github/workflows/schedule_tests_uiqmako_helpers.yml new file mode 100644 index 000000000..5af7209eb --- /dev/null +++ b/.github/workflows/schedule_tests_uiqmako_helpers.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: uiqmako_helpers +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: uiqmako_helpers + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/.github/workflows/schedule_tests_www_som.yml b/.github/workflows/schedule_tests_www_som.yml new file mode 100644 index 000000000..497a6cf18 --- /dev/null +++ b/.github/workflows/schedule_tests_www_som.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input + +name: www_som +on: + schedule: + - cron: '0 0 * * 1' +jobs: + erp-tests-module: + uses: ./.github/workflows/reusable_workflow.yml + with: + module: www_som + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }} diff --git a/README.md b/README.md index b32a827bc..2123b7505 100644 --- a/README.md +++ b/README.md @@ -9,50 +9,50 @@ Available addons ---------------- tests | name | description --- | --- | --- -badge | [account_account_som](account_account_som/) | A customization of AccountAccount model from OpenERP/Odoo -badge | [account_account_som](account_account_som/) | A customization of AccountInvoice model from OpenERP/Odoo -badge | [base_extended_som](base_extended_som/) | A customization of Base model from OpenERP/Odoo -badge | [dx_invoice_supplier_renumber](dx_invoice_supplier_renumber/) | -badge | [giscedata_facturacio_comer_som](giscedata_facturacio_comer_som/) | A customization of GiscedataFacturacioComer model from PowerERP (GISCE) -badge | [giscedata_facturacio_som](giscedata_facturacio_som/) | A customization of GiscedataFacturacioFactura model from PowerERP (GISCE) -badge | [powersms](powersms/) | A module to send SMS via a third party -badge | [som_account_invoice_pending](som_account_invoice_pending/) | A customization of AccountInvoicePending model from OpenERP/Odoo -badge | [som_atc](som_atc/) | -badge | [som_autofactura](som_autofactura/) | A module to automatize Invoicing process pipeline -badge | [som_autoreclama](som_autoreclama/) | -badge | [som_control_reports](som_control_reports/) | -badge | [som_crawlers](som_crawlers/) | A module to scrapy providers web portals -badge | [som_dashboard](som_dashboard/) | -badge | [som_documents_sensibles](som_documents_sensibles/) | A module to support attach private documents, only visibile to eligible users -badge | [som_empowering](som_empowering/) | -badge | [som_energetica](som_energetica/) | -badge | [som_extend_facturacio_comer](som_extend_facturacio_comer/) | -badge | [som_extend_facturacio_facturae](som_extend_facturacio_facturae/) | -badge | [som_facturacio_calculada](som_facturacio_calculada/) | -badge | [som_facturacio_comer](som_facturacio_comer/) | -badge | [som_facturacio_flux_solar](som_facturacio_flux_solar/) | -badge | [som_facturacio_switching](som_facturacio_switching/) | -badge | [som_factures_paper](som_factures_paper/) | -badge | [som_indexada](som_indexada/) | -badge | [som_infoenergia](som_infoenergia/) | -badge | [som_informe](som_informe/) | -badge | [som_inversions](som_inversions/) | -badge | [som_l10n_ES_aeat_mod347](som_l10n_ES_aeat_mod347/) | -badge | [som_modul_fulla](som_modul_fulla/) | -badge | [som_partner_account](som_partner_account/) | -badge | [som_partner_seq](som_partner_seq/) | -badge | [som_polissa](som_polissa/) | A customization of GiscedataPolissa model from PowerERP (GISCE) -badge | [som_polissa_administradora](som_polissa_administradora/) | -badge | [som_polissa_condicions_generals](som_polissa_condicions_generals/) | -badge | [som_polissa_condicions_generals_m101](som_polissa_condicions_generals_m101/) | -badge | [som_polissa_soci](som_polissa_soci/) | -badge | [som_poweremail_common_templates](som_poweremail_common_templates/) | -badge | [som_remeses_base](som_remeses_base/) | -badge | [som_switching](som_switching/) | A customization of GiscedataSwitching model from PowerERP (GISCE) -badge | [som_telemesura](som_telemesura/) | -badge | [som_webforms_helpers](som_webforms_helpers/) | -badge | [uiqmako_helpers](uiqmako_helpers/) | A module of helpers for [UIQMako](https//github.com/Som-Energia/uiqmako-api) project -badge | [www_som](www_som/) | A module to integrate **Oficina Virtual** (Virtual office) +[![account_account_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_account_account_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_account_account_som.yml) | [account_account_som](account_account_som/) | A customization of AccountAccount model from OpenERP/Odoo +[![account_account_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_account_account_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_account_account_som.yml) | [account_account_som](account_account_som/) | A customization of AccountInvoice model from OpenERP/Odoo +[![base_extended_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_base_extended_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_base_extended_som.yml) | [base_extended_som](base_extended_som/) | A customization of Base model from OpenERP/Odoo +[![dx_invoice_supplier_renumber](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_dx_invoice_supplier_renumber.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_dx_invoice_supplier_renumber.yml) | [dx_invoice_supplier_renumber](dx_invoice_supplier_renumber/) | +[![giscedata_facturacio_comer_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_giscedata_facturacio_comer_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_giscedata_facturacio_comer_som.yml) | [giscedata_facturacio_comer_som](giscedata_facturacio_comer_som/) | A customization of GiscedataFacturacioComer model from PowerERP (GISCE) +[![giscedata_facturacio_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_giscedata_facturacio_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_giscedata_facturacio_som.yml) | [giscedata_facturacio_som](giscedata_facturacio_som/) | A customization of GiscedataFacturacioFactura model from PowerERP (GISCE) +[![powersms](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_powersms.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_powersms.yml) | [powersms](powersms/) | A module to send SMS via a third party +[![som_account_invoice_pending](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_account_invoice_pending.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_account_invoice_pending.yml) | [som_account_invoice_pending](som_account_invoice_pending/) | A customization of AccountInvoicePending model from OpenERP/Odoo +[![som_atc](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_atc.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_atc.yml) | [som_atc](som_atc/) | +[![som_autofactura](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_autofactura.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_autofactura.yml) | [som_autofactura](som_autofactura/) | A module to automatize Invoicing process pipeline +[![som_autoreclama](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_autoreclama.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_autoreclama.yml) | [som_autoreclama](som_autoreclama/) | +[![som_control_reports](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_control_reports.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_control_reports.yml) | [som_control_reports](som_control_reports/) | +[![som_crawlers](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_crawlers.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_crawlers.yml) | [som_crawlers](som_crawlers/) | A module to scrapy providers web portals +[![som_dashboard](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_dashboard.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_dashboard.yml) | [som_dashboard](som_dashboard/) | +[![som_documents_sensibles](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_documents_sensibles.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_documents_sensibles.yml) | [som_documents_sensibles](som_documents_sensibles/) | A module to support attach private documents, only visibile to eligible users +[![som_empowering](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_empowering.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_empowering.yml) | [som_empowering](som_empowering/) | +[![som_energetica](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_energetica.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_energetica.yml) | [som_energetica](som_energetica/) | +[![som_extend_facturacio_comer](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_extend_facturacio_comer.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_extend_facturacio_comer.yml) | [som_extend_facturacio_comer](som_extend_facturacio_comer/) | +[![som_extend_facturacio_facturae](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_extend_facturacio_facturae.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_extend_facturacio_facturae.yml) | [som_extend_facturacio_facturae](som_extend_facturacio_facturae/) | +[![som_facturacio_calculada](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_calculada.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_calculada.yml) | [som_facturacio_calculada](som_facturacio_calculada/) | +[![som_facturacio_comer](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_comer.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_comer.yml) | [som_facturacio_comer](som_facturacio_comer/) | +[![som_facturacio_flux_solar](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_flux_solar.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_flux_solar.yml) | [som_facturacio_flux_solar](som_facturacio_flux_solar/) | +[![som_facturacio_switching](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_switching.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_facturacio_switching.yml) | [som_facturacio_switching](som_facturacio_switching/) | +[![som_factures_paper](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_factures_paper.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_factures_paper.yml) | [som_factures_paper](som_factures_paper/) | +[![som_indexada](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_indexada.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_indexada.yml) | [som_indexada](som_indexada/) | +[![som_infoenergia](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_infoenergia.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_infoenergia.yml) | [som_infoenergia](som_infoenergia/) | +[![som_informe](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_informe.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_informe.yml) | [som_informe](som_informe/) | +[![som_inversions](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_inversions.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_inversions.yml) | [som_inversions](som_inversions/) | +[![som_l10n_ES_aeat_mod347](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_l10n_ES_aeat_mod347.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_l10n_ES_aeat_mod347.yml) | [som_l10n_ES_aeat_mod347](som_l10n_ES_aeat_mod347/) | + | [som_modul_fulla](som_modul_fulla/) | +[![som_partner_account](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_partner_account.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_partner_account.yml) | [som_partner_account](som_partner_account/) | +[![som_partner_seq](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_partner_seq.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_partner_seq.yml) | [som_partner_seq](som_partner_seq/) | +[![som_polissa](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa.yml) | [som_polissa](som_polissa/) | A customization of GiscedataPolissa model from PowerERP (GISCE) +[![som_polissa_administradora](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_administradora.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_administradora.yml) | [som_polissa_administradora](som_polissa_administradora/) | +[![som_polissa_condicions_generals](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_condicions_generals.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_condicions_generals.yml) | [som_polissa_condicions_generals](som_polissa_condicions_generals/) | +[![som_polissa_condicions_generals_m101](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_condicions_generals_m101.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_condicions_generals_m101.yml) | [som_polissa_condicions_generals_m101](som_polissa_condicions_generals_m101/) | +[![som_polissa_soci](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_soci.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_polissa_soci.yml) | [som_polissa_soci](som_polissa_soci/) | +[![som_poweremail_common_templates](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_poweremail_common_templates.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_poweremail_common_templates.yml) | [som_poweremail_common_templates](som_poweremail_common_templates/) | +[![som_remeses_base](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_remeses_base.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_remeses_base.yml) | [som_remeses_base](som_remeses_base/) | +[![som_switching](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_switching.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_switching.yml) | [som_switching](som_switching/) | A customization of GiscedataSwitching model from PowerERP (GISCE) +[![som_telemesura](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_telemesura.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_telemesura.yml) | [som_telemesura](som_telemesura/) | +[![som_webforms_helpers](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_webforms_helpers.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_som_webforms_helpers.yml) | [som_webforms_helpers](som_webforms_helpers/) | +[![uiqmako_helpers](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_uiqmako_helpers.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_uiqmako_helpers.yml) | [uiqmako_helpers](uiqmako_helpers/) | A module of helpers for [UIQMako](https//github.com/Som-Energia/uiqmako-api) project +[![www_som](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_www_som.yml/badge.svg)](https://github.com/Som-Energia/openerp_som_addons/actions/workflows/schedule_tests_www_som.yml) | [www_som](www_som/) | A module to integrate **Oficina Virtual** (Virtual office) ## Other folders