Skip to content

Commit

Permalink
Initialize 15.0 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Nov 22, 2021
1 parent e9bb952 commit 5c73b3f
Show file tree
Hide file tree
Showing 40 changed files with 175 additions and 463 deletions.
11 changes: 5 additions & 6 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.3.6
_src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: Travis
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
include_wkhtmltopdf: false
odoo_version: 14.0
odoo_version: 15.0
rebel_module_groups: []
repo_description: This repo holds addons developed to ease the development of REST
services into Odoo.
repo_name: REST frameworks
repo_description: 'TODO: add repo description.'
repo_name: rest-framework
repo_slug: rest-framework
travis_apt_packages: []
travis_apt_sources: []
301 changes: 0 additions & 301 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
# We also need to pin to an older version of python for older odoo versions
# where we are not using black > 21. Older black versions won't work with
# Python 3.9.8+, and we can't bump black without reformatting.
python-version: "3.9.7"
python-version: "3.10"
- uses: pre-commit/[email protected]
48 changes: 48 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: test Odoo addons

on:
pull_request:
branches:
- "15.0*"
push:
branches:
- "15.0*"

jobs:
test:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
strategy:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.8-ocb15.0:latest
services:
postgres:
image: postgres:9.6
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
POSTGRES_DB: odoo
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
run: manifestoo -d . check-licenses
- name: Check development status
run: manifestoo -d . check-dev-status --default-dev-status=Beta
- name: Initialize test db
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
Loading

0 comments on commit 5c73b3f

Please sign in to comment.