From 081bd6679a6ef25cf7d3ea68048e8cf0fa04b2df Mon Sep 17 00:00:00 2001 From: Oriol Piera Date: Thu, 28 Mar 2024 08:39:37 +0100 Subject: [PATCH 1/2] Update requirements.txt Python 3 --- oorq/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oorq/requirements.txt b/oorq/requirements.txt index 44f2e2a..cd8ce6a 100644 --- a/oorq/requirements.txt +++ b/oorq/requirements.txt @@ -1,4 +1,5 @@ -rq==1.3.0 +rq==1.3.0;python_version<="2.7.18" +rq;python_version>"2.7.18" rq-dashboard osconf autoworker From 732640a20bf1f809f49db5c4aaf19a703fc379a2 Mon Sep 17 00:00:00 2001 From: Oriol Piera Date: Thu, 28 Mar 2024 09:08:30 +0100 Subject: [PATCH 2/2] Add GA oorq py3 --- .github/workflows/oorq.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/oorq.yml diff --git a/.github/workflows/oorq.yml b/.github/workflows/oorq.yml new file mode 100644 index 0000000..522b630 --- /dev/null +++ b/.github/workflows/oorq.yml @@ -0,0 +1,15 @@ +# This workflow will pass tests of module passed by input +name: oorq +on: + workflow_dispatch: + pull_request: # PR +jobs: + erp-tests-module: + uses: Som-Energia/openerp_som_addons/.github/workflows/reusable_workflow.yml@main + with: + module: oorq + pyversion: '["2.7", "3.10"]' + secrets: + ACCESS_TOKEN_GA: ${{ secrets.ACCESS_TOKEN_GA }} + ESIOS_TOKEN: ${{ secrets.ESIOS_TOKEN }} + SRID: ${{ secrets.SRID }}