Skip to content

Commit

Permalink
Merge PR #10 into 18.0
Browse files Browse the repository at this point in the history
Signed-off-by hparfr
  • Loading branch information
Akretion Git Bot committed Feb 7, 2025
2 parents 11e293c + d26b8ca commit 45e1760
Show file tree
Hide file tree
Showing 19 changed files with 74 additions and 277 deletions.
9 changes: 5 additions & 4 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.21.1
_commit: v1.29
_src_path: https://github.com/OCA/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub
convert_readme_fragments_to_markdown: false
enable_checklog_odoo: true
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
Expand All @@ -13,14 +14,14 @@ github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_test_flavor: OCB
odoo_version: 16.0
odoo_version: 18.0
org_name: Akretion
org_slug: akretion
rebel_module_groups: []
repo_description: Odoo module to export journal entries to another accounting software
repo_name: Account Move Export
repo_slug: 'https://github.com/akretion/account-move-export'
repo_website: 'https://github.com/akretion/account-move-export'
repo_slug: https://github.com/akretion/account-move-export
repo_website: https://github.com/akretion/account-move-export
use_pyproject_toml: true
use_ruff: true

188 changes: 0 additions & 188 deletions .eslintrc.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ name: pre-commit
on:
pull_request:
branches:
- "16.0*"
- "18.0*"
push:
branches:
- "16.0"
- "16.0-ocabot-*"
- "18.0"
- "18.0-ocabot-*"

jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ name: tests
on:
pull_request:
branches:
- "16.0*"
- "18.0*"
push:
branches:
- "16.0"
- "16.0-ocabot-*"
- "18.0"
- "18.0-ocabot-*"

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
Expand All @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
name: test with OCB
makepot: "false"
services:
Expand All @@ -47,8 +47,10 @@ jobs:
POSTGRES_DB: odoo
ports:
- 5432:5432
env:
OCA_ENABLE_CHECKLOG_ODOO: "1"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install addons and dependencies
Expand Down
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ var/
*.egg
*.eggs

# Windows installers
*.msi

# Debian packages
*.deb

# Redhat packages
*.rpm

# MacOS packages
*.dmg
*.pkg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand Down
Loading

0 comments on commit 45e1760

Please sign in to comment.