Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] use PY 3.9 for avoid issue at install poetry #560

Merged
merged 1 commit into from
Nov 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
- name: Set PY
run:
echo "PY=$(python -c 'import hashlib,
Expand All @@ -27,7 +29,7 @@ jobs:
- uses: pre-commit/[email protected]

build-test-push:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: pre-commit
strategy:
fail-fast: false
Expand All @@ -42,8 +44,10 @@ jobs:
include:
# Older odoo versions don't support latest postgres because of the adapter
- pg_version: "13"
odoo_version: "12.0"
odoo_version: "13.0"
- pg_version: "13"
odoo_version: "12.0"
- pg_version: "12"
odoo_version: "11.0"
env:
# Indicates what's the equivalent to tecnativa/doodba:latest image
Expand All @@ -59,6 +63,8 @@ jobs:
# Prepare
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: "3.9"
# Install dev and test dependencies
- run: pip install poetry
- name: Patch $PATH
Expand Down
Loading