14
14
runs-on : ubuntu-latest
15
15
name : Detect unreleased dependencies
16
16
steps :
17
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v4
18
18
- run : |
19
19
for reqfile in requirements.txt test-requirements.txt ; do
20
20
if [ -f ${reqfile} ] ; then
@@ -37,18 +37,18 @@ jobs:
37
37
include :
38
38
- container : ghcr.io/oca/oca-ci/py3.6-odoo13.0:latest
39
39
include : " fetchmail_incoming_log,fetchmail_notify_error_to_sender_test,fetchmail_notify_error_to_sender"
40
- makepot : " true"
41
40
name : test with Odoo
42
41
- container : ghcr.io/oca/oca-ci/py3.6-ocb13.0:latest
43
42
include : " fetchmail_incoming_log,fetchmail_notify_error_to_sender_test,fetchmail_notify_error_to_sender"
44
43
name : test with OCB
44
+ makepot : " true"
45
45
- container : ghcr.io/oca/oca-ci/py3.6-odoo13.0:latest
46
46
exclude : " fetchmail_incoming_log,fetchmail_notify_error_to_sender_test,fetchmail_notify_error_to_sender"
47
- makepot : " true"
48
47
name : test with Odoo
49
48
- container : ghcr.io/oca/oca-ci/py3.6-ocb13.0:latest
50
49
exclude : " fetchmail_incoming_log,fetchmail_notify_error_to_sender_test,fetchmail_notify_error_to_sender"
51
50
name : test with OCB
51
+ makepot : " true"
52
52
services :
53
53
postgres :
54
54
image : postgres:9.6
62
62
INCLUDE : " ${{ matrix.include }}"
63
63
EXCLUDE : " ${{ matrix.exclude }}"
64
64
steps :
65
- - uses : actions/checkout@v2
65
+ - uses : actions/checkout@v4
66
66
with :
67
67
persist-credentials : false
68
68
- name : Install addons and dependencies
75
75
run : oca_init_test_database
76
76
- name : Run tests
77
77
run : oca_run_tests
78
- - uses : codecov/codecov-action@v1
78
+ - uses : codecov/codecov-action@v4
79
+ with :
80
+ token : ${{ secrets.CODECOV_TOKEN }}
79
81
- name : Update .pot files
80
82
run : oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
81
83
if : ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
0 commit comments