[UPD] migrate CI to github actions

This commit is contained in:
Lois Rilo
2021-11-03 13:05:09 +01:00
parent 4924a87259
commit db2cd3ff9c
9 changed files with 82 additions and 18 deletions

View File

@@ -2,7 +2,11 @@ name: pre-commit
on:
pull_request:
branches:
- "14.0"
push:
branches:
- "14.0"
jobs:
pre-commit:
@@ -10,4 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
# The pylint-odoo version we use here does not support python 3.10
# https://github.com/OCA/oca-addons-repo-template/issues/80
python-version: "3.9"
- uses: pre-commit/action@v2.0.0