Skip to content

Commit 5a307d0

Browse files
[UPD] copier update (#93)
1 parent 4c0925a commit 5a307d0

6 files changed

Lines changed: 22 additions & 13 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.35
2+
_commit: v1.39
33
_src_path: https://github.com/OCA/oca-addons-repo-template.git
44
ci: GitHub
55
convert_readme_fragments_to_markdown: true

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
20+
cache: 'pip'
21+
cache-dependency-path: '.pre-commit-config.yaml'
2022
- name: Get python version
2123
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2224
- uses: actions/cache@v4

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ jobs:
7070
run: oca_init_test_database
7171
- name: Run tests
7272
run: oca_run_tests
73+
- name: Upload screenshots from JS tests
74+
uses: actions/upload-artifact@v4
75+
if: ${{ failure() }}
76+
with:
77+
name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }}
78+
path: /tmp/odoo_tests/${{ env.PGDATABASE }}
79+
if-no-files-found: ignore
7380
- name: Update .pot files
7481
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
7582
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'qrtl' }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ repos:
142142
- --settings=.
143143
exclude: /__init__\.py$
144144
- repo: https://github.com/acsone/setuptools-odoo
145-
rev: 3.1.8
145+
rev: 3.3.2
146146
hooks:
147147
- id: setuptools-odoo-make-default
148148
- id: setuptools-odoo-get-requirements

.pylintrc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,22 @@ enable=anomalous-backslash-in-string,
9999
translation-positional-used,
100100
website-manifest-key-not-valid-uri,
101101
external-request-timeout,
102-
# messages that do not cause the lint step to fail
103-
consider-merging-classes-inherited,
102+
missing-manifest-dependency,
103+
too-complex,,
104104
create-user-wo-reset-password,
105105
dangerous-filter-wo-user,
106-
deprecated-module,
107106
file-not-used,
108-
invalid-commit,
109-
missing-manifest-dependency,
110107
missing-newline-extrafiles,
111-
missing-readme,
112108
no-utf8-coding-comment,
113-
odoo-addons-relative-import,
114109
old-api7-method-defined,
115-
redefined-builtin,
116-
too-complex,
117110
unnecessary-utf8-coding-comment,
111+
# messages that do not cause the lint step to fail
112+
consider-merging-classes-inherited,
113+
deprecated-module,
114+
invalid-commit,
115+
missing-readme,
116+
odoo-addons-relative-import,
117+
redefined-builtin,
118118
manifest-external-assets
119119

120120

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

2+
3+
# SFAJ OCA
24
<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
35
[![Pre-commit Status](https://github.com/qrtl/sfaj-oca/actions/workflows/pre-commit.yml/badge.svg?branch=16.0)](https://github.com/qrtl/sfaj-oca/actions/workflows/pre-commit.yml?query=branch%3A16.0)
46
[![Build Status](https://github.com/qrtl/sfaj-oca/actions/workflows/test.yml/badge.svg?branch=16.0)](https://github.com/qrtl/sfaj-oca/actions/workflows/test.yml?query=branch%3A16.0)
@@ -7,8 +9,6 @@
79

810
<!-- /!\ do not modify above this line -->
911

10-
# SFAJ OCA
11-
1212

1313

1414
<!-- /!\ do not modify below this line -->

0 commit comments

Comments
 (0)